- better empty default values for string arrays and maps
- add support for using environment variables
- usage now shows defaults and optionals
- better error messages for args.
- fix bug where flags were sometimes getting shared on subcommands
- support passing flags out of order
- fix help message coloring
- support basic tab completion using
COMP_LINE
andcomplete -o nospace -C <cmd> <cmd>
- BREAKING: switch away from colon-based subcommands.
You can still use colon-based commands, you just use them as commands like
cli.Command("fs:cat", ...)
and don't nest. - add ability to find and modify commands
- better error message for enums
- add help message back in for args (not used yet)
- add enum support
- Remove unused add ability to infer flags and args from struct tags
- Remove unused support calling multiple runners at once
- update release script
- Add ability to infer flags and args from struct tags.
- Support calling multiple runners at once
- switch to using signal.NotifyContext
- Initial release