Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrFailed = errors.New("command failed")
View Source
var ParseErr = errors.New("incorrect type for arg")
Functions ¶
This section is empty.
Types ¶
type CommandParser ¶
func NewCommandParser ¶
func NewCommandParser() (CommandParser, error)
func (*CommandParser) ParseCommandFromArgs ¶
type DisplayUsage ¶
type DisplayUsage interface {
DisplayUsage()
}
type TriggerLegacyMain ¶
type TriggerLegacyMain interface { LegacyMain() error }
type UnknownCommandError ¶
type UnknownCommandError struct { }
func (UnknownCommandError) Error ¶
func (e UnknownCommandError) Error() string
Click to show internal directories.
Click to hide internal directories.