Documentation ¶
Index ¶
- type AppCmd
- func (this *AppCmd) Append(appendString string) *AppCmd
- func (this *AppCmd) On(arg string, callback func())
- func (this *AppCmd) Option(code string, description string) *AppCmd
- func (this *AppCmd) ParseOptions(args []string) map[string][]string
- func (this *AppCmd) Print()
- func (this *AppCmd) Product(product string) *AppCmd
- func (this *AppCmd) Run(main func())
- func (this *AppCmd) Usage(usage string) *AppCmd
- func (this *AppCmd) Version(version string) *AppCmd
- type CommandHelpOption
- type Directive
- type LogWriter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppCmd ¶
type AppCmd struct {
// contains filtered or unexported fields
}
AppCmd App命令帮助
func (*AppCmd) ParseOptions ¶
ParseOptions 分析参数中的选项
type CommandHelpOption ¶
Click to show internal directories.
Click to hide internal directories.