Versions in this module Expand all Collapse all v1 v1.4.0 Jun 27, 2020 Changes in this version + var ErrHelp = errors.New("help requested by user") + var ErrVersion = errors.New("version requested by user") + func Parse(dest ...interface{}) error + type Config struct + IgnoreEnv bool + Program string + type Described interface + Description func() string + type Parser struct + func MustParse(dest ...interface{}) *Parser + func NewParser(config Config, dests ...interface{}) (*Parser, error) + func (p *Parser) Fail(msg string) + func (p *Parser) Parse(args []string) error + func (p *Parser) Subcommand() interface{} + func (p *Parser) SubcommandNames() []string + func (p *Parser) WriteHelp(w io.Writer) + func (p *Parser) WriteUsage(w io.Writer) + type Versioned interface + Version func() string