Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseCommand ¶
type BaseCommand struct {
Args []string
}
func (BaseCommand) Arguments ¶
func (cmd BaseCommand) Arguments() []string
func (BaseCommand) HasQuery ¶
func (cmd BaseCommand) HasQuery() bool
func (BaseCommand) HasQueryWithOffset ¶
func (cmd BaseCommand) HasQueryWithOffset(offset int) bool
func (BaseCommand) Query ¶
func (cmd BaseCommand) Query() string
func (BaseCommand) QueryWithOffset ¶
func (cmd BaseCommand) QueryWithOffset(offset int) string
type HelpCommand ¶
type HelpCommand struct {
BaseCommand
}
HelpCommand describe a subcommand to show the subcommands.
func NewHelpCommand ¶
func NewHelpCommand(args []string) HelpCommand
NewHelpCommand return an instance of this subcommand.
Click to show internal directories.
Click to hide internal directories.