Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HelloMainFunc ¶
func HelloSubCommands ¶ added in v1.0.6
func StartExample ¶
func StartExample()
Types ¶
type Command ¶
type Command struct {
// contains filtered or unexported fields
}
func ZeroCommand ¶
func ZeroCommand() Command
type ErrMissingArg ¶
type ErrMissingArg struct {
ArgName string
}
func (ErrMissingArg) Error ¶
func (e ErrMissingArg) Error() string
type Helm ¶
type Helm struct {
// contains filtered or unexported fields
}
func (*Helm) CurrentCommand ¶ added in v1.0.4
func (*Helm) OutputError ¶
func (*Helm) OutputString ¶
func (*Helm) RegisterRoute ¶ added in v1.0.6
type Route ¶
type Route struct { MainCommand CommandFunc SubCommands map[string]Route }
Route represents a Command and its related sub commands
type SubCommands ¶ added in v1.0.6
Click to show internal directories.
Click to hide internal directories.