Versions in this module Expand all Collapse all v0 v0.1.1 Oct 13, 2023 v0.1.0 Oct 12, 2023 Changes in this version + func Parse(opts *Options) (args map[string]any, err error) + type AmbiguousPositionalsError struct + func (e AmbiguousPositionalsError) Error() string + type DefaultValueTypeError struct + func (e DefaultValueTypeError) Error() string + type DuplicateNameError struct + func (e DuplicateNameError) Error() string + type EmptyProgramNameError struct + func (e EmptyProgramNameError) Error() string + type Flag struct + DefaultValue any + Description string + LongName string + ShortName byte + Type string + ValueName string + type InvalidFlagNameError struct + func (e InvalidFlagNameError) Error() string + type InvalidParamOrderError struct + func (e InvalidParamOrderError) Error() string + type InvalidPositionalNameError struct + func (e InvalidPositionalNameError) Error() string + type InvalidTypeError struct + func (e InvalidTypeError) Error() string + type Options struct + Description string + DisableShortHelp bool + Flags []Flag + Name string + Positionals []Positional + Postnote string + type Positional struct + DefaultValue any + Description string + Name string + Repeating bool + Type string