Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ShowVersion ¶ added in v1.0.1000
func ShowVersion(name, version, buildDate, oSBuildName string)
Types ¶
type Cli ¶
type Cli interface { Init(opt Options) // ShowVersion - default show version ShowVersion() SetConfig(cfg interface{}) GenerateConfig(cfg interface{}, output string) SetDefaultAction(callback func(ctx interface{}) (err error)) SetCommand(subcommand []*Command) Run(inputs ...any) (err error) ParsingContext(ctx interface{}) ParsingContext RegisterClean(inputs ...any) }
type ParsingContext ¶ added in v0.0.6
Click to show internal directories.
Click to hide internal directories.