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 { CommandName string // contains filtered or unexported fields }
func (UnknownCommandError) Error ¶
func (e UnknownCommandError) Error() string
func (*UnknownCommandError) Suggest ¶
func (e *UnknownCommandError) Suggest(pluginCommandNames []string)
Click to show internal directories.
Click to hide internal directories.