Versions in this module Expand all Collapse all v0 v0.0.2 Jun 6, 2019 Changes in this version type Command + func (c *Command) MustAddHelp() v0.0.1 May 16, 2019 Changes in this version + const FullVersionBoolFlag + const HelpCommand + const VersionBoolFlag + type Application struct + Args string + Descr string + Err flag.ErrorHandling + Help string + Init func(*flag.FlagSet) Handler + Name string + type Command struct + Usage func() + func New(fset *flag.FlagSet) *Command + func (c *Command) Add(app Application) (*Command, error) + func (c *Command) AddHelp() error + func (c *Command) Commands() []*Command + func (c *Command) MustAdd(app Application) *Command + func (c *Command) Output() io.Writer + func (c *Command) Parse(args ...string) error + type Error string + const ErrDuplicateCommand + const ErrMissingCommandName + const ErrMissingInitializer + const ErrNoCommand + func (e Error) Error() string + type Handler func(args ...string) (int, error)