Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LogLevelFromString ¶ added in v0.0.9
Types ¶
type CliConfig ¶ added in v0.0.9
type CliConfig struct {
LogLevel string `env:"LOG_LEVEL" default:"info"`
}
type CommandLine ¶
type CommandLine struct {
// contains filtered or unexported fields
}
func NewCommandLine ¶
func NewCommandLine(name string) *CommandLine
func (*CommandLine) Add ¶
func (c *CommandLine) Add(cmd ...Command)
func (*CommandLine) Help ¶
func (c *CommandLine) Help(args []string)
func (*CommandLine) Run ¶
func (c *CommandLine) Run(args []string) error
func (*CommandLine) Usage ¶
func (c *CommandLine) Usage(args []string)
Click to show internal directories.
Click to hide internal directories.