Versions in this module Expand all Collapse all v1 v1.5.0 Jul 21, 2021 Changes in this version + type Option struct + Action func(args []string) error + Choices []interface{} + Default string + Formatter func(arg string) (interface{}, error) + Group string + Help string + HideEntry bool + Meta string + Positional bool + Required bool + Validate func(arg string) error + type Parser struct + InvokeAction func(bool) + Invoked bool + func NewParser(name string, description string, config *ParserConfig) *Parser + func (p *Parser) AddCommand(name string, description string, config *ParserConfig) *Parser + func (p *Parser) Flag(short, full string, opts *Option) *bool + func (p *Parser) Float(short, full string, opts *Option) *float64 + func (p *Parser) Floats(short, full string, opts *Option) *[]float64 + func (p *Parser) FormatCompletionScript() string + func (p *Parser) FormatHelp() string + func (p *Parser) Int(short, full string, opts *Option) *int + func (p *Parser) Ints(short, full string, opts *Option) *[]int + func (p *Parser) Parse(args []string) error + func (p *Parser) PrintHelp() + func (p *Parser) String(short, full string, opts *Option) *string + func (p *Parser) Strings(short, full string, opts *Option) *[]string + type ParserConfig struct + AddShellCompletion bool + ContinueOnHelp bool + DefaultAction func() + DisableDefaultShowHelp bool + DisableHelp bool + EpiLog string + Usage string