Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct { Commander // contains filtered or unexported fields }
func NewCommand ¶
type CommandManager ¶
type CommandManager struct {
// contains filtered or unexported fields
}
func (*CommandManager) Register ¶
func (c *CommandManager) Register(cmd Commander)
type Manage ¶
type Manage struct {
Stdout, Stderr io.Writer
// if true, the help command will be added to the command list
// Help is used for all commands.
// default is true
Help *bool
}
func NewCommandManager ¶
func NewCommandManager() *Manage
func (*Manage) Build ¶
func (m *Manage) Build() *CommandManager
Click to show internal directories.
Click to hide internal directories.