Versions in this module Expand all Collapse all v2 v2.0.2 Feb 20, 2021 v2.0.1 Jan 31, 2021 Changes in this version + var ErrBadGroup = errors.New("only the last short flag in a group can have an argument") + var ErrBoolArg = errors.New("args cannot be bool values") + var ErrInsufficientArgs = errors.New("Missing argument(s)") + var ErrMissingFlagName = errors.New("missing flag name") + var ErrMissingValue = errors.New("missing value for field") + var ErrSliceFlag = errors.New("flags cannot be slices") + var ErrTooManyArgs = errors.New("too many arguments") + type List struct + func NewList(args []string) List + func (l *List) Next() (front string) + func (l List) IsEmpty() bool + func (l List) Peek() string + type Parser struct + func NewParser(args []string, single bool) (p *Parser, sub string) + func (p *Parser) Parse(rFlags, cFlags, args interface{}) (err error) Other modules containing this package github.com/DataDrake/cli-ng