Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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) Query ¶
func (cmd BaseCommand) Query() string
type HelpCommand ¶
type HelpCommand struct {
BaseCommand
}
HelpCommand describe a subcommand to show the subcommands.
func NewHelpCommand ¶
func NewHelpCommand() HelpCommand
NewHelpCommand return an instance of this subcommand.
type ReposCommand ¶
type ReposCommand struct { Owner string Limit int BaseCommand }
ReposCommand describe a subcommand to fetch repos
func NewReposCommand ¶
func NewReposCommand(owner string, args []string) ReposCommand
NewReposCommand return a ReposCommand instance.
Click to show internal directories.
Click to hide internal directories.