Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ArgumentData ¶
func (ArgumentData) InputFieldName ¶
func (d ArgumentData) InputFieldName() string
func (ArgumentData) InputFieldType ¶
func (d ArgumentData) InputFieldType() string
type CommandData ¶
type CommandData struct {
schema.Command
Program string
Name name.Name
Options []OptionData
Arguments []ArgumentData
}
func (CommandData) DocText ¶
func (d CommandData) DocText() string
func (CommandData) HandlerInputType ¶
func (d CommandData) HandlerInputType() string
func (CommandData) HandlerMethodName ¶
func (d CommandData) HandlerMethodName() string
func (CommandData) Path ¶
func (d CommandData) Path() []string
func (CommandData) PathLiteral ¶
func (d CommandData) PathLiteral() string
type Data ¶
type Data struct {
Module string
Generator string
Program ProgramData
CommandList []CommandData
}
type OptionData ¶
type OptionData struct {
Name name.Name
Option string
ShortOption string
Type schema.Type
Repeated bool
DefaultValue string
Negation bool
}
func (OptionData) InputFieldInit ¶
func (d OptionData) InputFieldInit() string
func (OptionData) InputFieldName ¶
func (d OptionData) InputFieldName() string
func (OptionData) InputFieldType ¶
func (d OptionData) InputFieldType() string
type ProgramData ¶
Click to show internal directories.
Click to hide internal directories.