github.com/jenspinney/cli@v6.42.1-0.20190207184520-7450c600020e+incompatible/command/v6/delete_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 DeleteCommand struct { 10 RequiredArgs flag.AppName `positional-args:"yes"` 11 ForceDelete bool `short:"f" description:"Force deletion without confirmation"` 12 DeleteMappedRoutes bool `short:"r" description:"Also delete any mapped routes"` 13 usage interface{} `usage:"CF_NAME delete APP_NAME [-r] [-f]"` 14 relatedCommands interface{} `related_commands:"apps, scale, stop"` 15 } 16 17 func (DeleteCommand) Setup(config command.Config, ui command.UI) error { 18 return nil 19 } 20 21 func (DeleteCommand) Execute(args []string) error { 22 return translatableerror.UnrefactoredCommandError{} 23 }