Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action struct {
Nickname string
Description string
Func func(info ActionInfo) error
}
func (Action) GetNickname ¶
type ActionInfo ¶
type ActionInfo struct {
CmdArgs []string
}
type Parser ¶
type Parser struct {
ParserOpts
// contains filtered or unexported fields
}
func NewConsoleParser ¶
func NewConsoleParser( actions []Action, opts ParserOpts, ) *Parser
Click to show internal directories.
Click to hide internal directories.