Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Version string
Functions ¶
Types ¶
type CLIOptions ¶
type CLIOptions struct {
Hello *HelloOption `cmd:"" help:"say hello"`
LogLevel string `help:"logging level: DEBUG, INFO, WARN, ERROR" enum:"DEBUG,INFO,WARN,ERROR" name:"loglevel" default:"INFO"`
Version kong.VersionFlag `help:"show Version" short:"v"`
}
type HelloOption ¶
type HelloOption struct {
Name string `help:"Name" name:"name" short:"n" default:"fuga"`
}
Click to show internal directories.
Click to hide internal directories.