github.com/franc20/ayesa_sap@v7.0.0-beta.28.0.20200124003224-302d4d52fa6c+incompatible/command/v6/stack_command.go (about) 1 package v6 2 3 import ( 4 "code.cloudfoundry.org/cli/command" 5 "code.cloudfoundry.org/cli/command/flag" 6 "code.cloudfoundry.org/cli/command/translatableerror" 7 ) 8 9 type StackCommand struct { 10 RequiredArgs flag.StackName `positional-args:"yes"` 11 GUID bool `long:"guid" description:"Retrieve and display the given stack's guid. All other output for the stack is suppressed."` 12 usage interface{} `usage:"CF_NAME stack STACK_NAME"` 13 relatedCommands interface{} `related_commands:"app, push, stacks"` 14 } 15 16 func (StackCommand) Setup(config command.Config, ui command.UI) error { 17 return nil 18 } 19 20 func (StackCommand) Execute(args []string) error { 21 return translatableerror.UnrefactoredCommandError{} 22 }