tweaking...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2020-07-19 18:33:48 +03:00
parent d6c676ba91
commit 1126063a7f

View File

@ -16,7 +16,7 @@ This code is an evolution of that parser.
## Features ## Features
- Simple - Simple
- Supports both the _option_ (a-la `find`) and _command_ (a-la `git`) paradigms - Supports both the _option_ (a-la `ls`) and _command_ (a-la `git`) paradigms
- Nestable - Nestable
parsers can be nested as option/command handlers defining independent parsers can be nested as option/command handlers defining independent
nested contexts nested contexts
@ -25,21 +25,21 @@ This code is an evolution of that parser.
- Option/command value passing - Option/command value passing
implicit `-a 123` (requires definition or manual handling) or explicit implicit `-a 123` (requires definition or manual handling) or explicit
`-a=123` `-a=123`
- Environment variable option/command values - Environment variable option/command value defaults
env can control option defaults - Multiple option prefix support
- Reasonable defaults - Reasonable defaults:
- `-help` &ndash; generate and print help, - `-help` &ndash; generate and print help
- `-version` &ndash; print version, - `-version` &ndash; print version
- `-` &ndash; stop argument processing, - `-` &ndash; stop argument processing
- Extensible: - Extensible:
- Hooks for option value conversion _(XXX should this be implemented???)_ - Hooks for option value conversion
- Hooks for dynamic option/command handling - Hooks for dynamic option/command handling
- Customizable error and stop condition handling - Customizable error and stop condition handling
## Planned Features ## Planned Features
- Run `<command>-<sub-command>` scripts - Run `<command>-<sub-command>` scripts
- Multiple option prefix support - Option grouping