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
}
func (Command) CLIFuncMethodChain ¶
func (Command) CLIInputStructName ¶
func (Command) CLIStructName ¶
func (Command) NameLiteral ¶
type Data ¶
type Data struct {
Package string
Generator string
GeneratorVersion string
SchemaYAML string
Program Program
Commands []Command
}
func (Data) SchemaYAMLLiteral ¶
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
}
func (Program) CLIFuncMethodChain ¶
func (Program) CLIInputStructName ¶
func (Program) CLIStructName ¶
func (Program) NameLiteral ¶
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.