github.com/willmadison/cli@v6.40.1-0.20181018160101-29d5937903ff+incompatible/command/v6/events_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 EventsCommand struct { 10 RequiredArgs flag.AppName `positional-args:"yes"` 11 usage interface{} `usage:"CF_NAME events APP_NAME"` 12 } 13 14 func (EventsCommand) Setup(config command.Config, ui command.UI) error { 15 return nil 16 } 17 18 func (EventsCommand) Execute(args []string) error { 19 return translatableerror.UnrefactoredCommandError{} 20 }