Versions in this module Expand all Collapse all v1 v1.2.1 Mar 12, 2022 Changes in this version + var DefaultOrder = []string + var DefaultTemplates = map[string]string + type Completer interface + Complete func(user string) []string + type Opts interface + AddCommand func(Opts) Opts + Author func(author string) Opts + Complete func() Opts + ConfigPath func(path string) Opts + DisablePadAll func() Opts + DocAfter func(existingID, newID, template string) Opts + DocBefore func(existingID, newID, template string) Opts + DocSet func(id, template string) Opts + EmbedFlagSet func(*flag.FlagSet) Opts + EmbedGlobalFlagSet func() Opts + Name func(name string) Opts + Parse func() ParsedOpts + ParseArgs func(args []string) ParsedOpts + ParseArgsError func(args []string) (ParsedOpts, error) + PkgAuthor func() Opts + PkgRepo func() Opts + Repo func(repo string) Opts + SetLineWidth func(width int) Opts + SetPadWidth func(padding int) Opts + Summary func(summary string) Opts + UseEnv func() Opts + UserConfigPath func() Opts + Version func(version string) Opts + func New(config interface{}) Opts + type ParsedOpts interface + Help func() string + IsRunnable func() bool + Run func() error + RunFatal func() + func Parse(config interface{}) ParsedOpts + type Setter interface + Set func(string) error