Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterCommand ¶
Types ¶
type Collection ¶
type ExecutorWithCommands ¶
type ExecutorWithCommands interface { Executor Collection }
type RegisterableCollection ¶
type RegisterableCollection interface { Collection RegisterCommand(cmd cli.Command) Register(name, usage string, flags ...cli.Flag) RegistrationContext }
func NewCollection ¶
func NewCollection() RegisterableCollection
type RegistrationContext ¶
type RegistrationContext interface { Configure(cfg func(cli.Command)) RegistrationContext Executor(exec Executor) Commands(coll Collection) ExecutorWithCommands(execColl ExecutorWithCommands) }
Click to show internal directories.
Click to hide internal directories.