github.com/cloudfoundry-community/cloudfoundry-cli@v6.44.1-0.20240130060226-cda5ed8e89a5+incompatible/command/v6/service_auth_tokens_command.go (about) 1 package v6 2 3 import ( 4 "code.cloudfoundry.org/cli/command" 5 "code.cloudfoundry.org/cli/command/translatableerror" 6 ) 7 8 type ServiceAuthTokensCommand struct { 9 usage interface{} `usage:"CF_NAME service-auth-tokens"` 10 UI command.UI 11 } 12 13 func (cmd *ServiceAuthTokensCommand) Setup(config command.Config, ui command.UI) error { 14 cmd.UI = ui 15 return nil 16 } 17 18 func (cmd *ServiceAuthTokensCommand) Execute(args []string) error { 19 cmd.UI.DisplayDeprecationWarning() 20 return translatableerror.UnrefactoredCommandError{} 21 }