Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Command ¶
type Command struct {
Name name.Path
Options []Option
Arguments []Argument
Subcommands []Subcommand
// contains filtered or unexported fields
}
func (Command) CLIClassName ¶
func (Command) CLIFuncMethodChain ¶
func (Command) CLIInputClassName ¶
func (Command) FullPathLiteral ¶
type Option ¶
func (Option) DefaultLiteral ¶
func (Option) InputFieldName ¶
func (Option) InputFieldType ¶
func (Option) NameLiteral ¶
func (Option) ShortNameLiteral ¶
type Program ¶
type Program struct {
Name name.Path
Version string
Options []Option
Arguments []Argument
Subcommands []Subcommand
// contains filtered or unexported fields
}
func (Program) CLIClassName ¶
func (Program) CLIFuncMethodChain ¶
func (Program) CLIInputClassName ¶
func (Program) FullPathLiteral ¶
type Subcommand ¶
func (Subcommand) SubcommandFieldName ¶
func (d Subcommand) SubcommandFieldName() string
func (Subcommand) SubcommandFieldType ¶
func (d Subcommand) SubcommandFieldType() string
Click to show internal directories.
Click to hide internal directories.