github.com/rakutentech/cli@v6.12.5-0.20151006231303-24468b65536e+incompatible/cf/command_registry/fake_command/fake_command_max_length_name.go (about) 1 package fake_command 2 3 import ( 4 "github.com/cloudfoundry/cli/cf/command_registry" 5 "github.com/cloudfoundry/cli/cf/requirements" 6 "github.com/cloudfoundry/cli/flags" 7 ) 8 9 type FakeCommand3 struct { 10 } 11 12 func init() { 13 command_registry.Register(FakeCommand3{}) 14 } 15 16 func (cmd FakeCommand3) MetaData() command_registry.CommandMetadata { 17 return command_registry.CommandMetadata{ 18 Name: "this-is-a-really-long-command-name-123123123123123123123", 19 } 20 } 21 22 func (cmd FakeCommand3) Requirements(_ requirements.Factory, _ flags.FlagContext) (reqs []requirements.Requirement, err error) { 23 return 24 } 25 26 func (cmd FakeCommand3) SetDependency(deps command_registry.Dependency, _ bool) command_registry.Command { 27 return cmd 28 } 29 30 func (cmd FakeCommand3) Execute(c flags.FlagContext) { 31 }