Versions in this module Expand all Collapse all v0 v0.2.41 May 13, 2024 Changes in this version + func NoArgumentParser(s string) (any, error) + func NoCommandCallback(args ArgumentsMap) error + type ArgumentParserFunc func(string) (any, error) + type ArgumentsMap map[string]any + func NoFlagCallback(argMap ArgumentsMap) (ArgumentsMap, error) + type CommandCallbackFunc func(args ArgumentsMap) error + type ErrCommandNotFound struct + Command string + func NewErrCommandNotFound(command string) *ErrCommandNotFound + func (e *ErrCommandNotFound) Error() string + type ErrFewArguments struct + func NewErrFewArguments() *ErrFewArguments + func (e *ErrFewArguments) Error() string + type ErrParsingFlags struct + Name string + Reason error + func NewErrParsingFlags(name string, reason error) *ErrParsingFlags + func (e *ErrParsingFlags) Error() string + func (e *ErrParsingFlags) Unwrap() error + type ErrUnknownFlag struct + Flag string + func NewErrUnknownFlag(flag string) *ErrUnknownFlag + func (e *ErrUnknownFlag) Error() string + type FlagCallbackFunc func(argMap ArgumentsMap) (ArgumentsMap, error)