- Require modern node versions
- abstract out post-parse actions, slice process.argv in parseRaw
- Add
stopAtPositionalTest
method
- still validate if stopAtPositional is set
- add parseRaw() method, to parse without side effects
- improve fenced code sections in usage output
- add hint to toJSON output
- Add
validOptions
config option, to specify a discrete set of acceptable values. validate
methods now take anunknown
argument, which is more appropriate thanany
as it encourages more deliberate type assertions.
- Move custom
Error
fields to thecause
property where they belong.
- add
jack.usageMarkdown()
method
- add support for {pre:true} on description fields
- add heading level support
- Add
jack.setConfigValues()
method
- Complete rewrite as hybrid TypeScript module
- Cosmetic changes to help output
implies
supportvalid
option value lists
Multi-section parsing, environment variables
Automatic --help
usage output handling
Basic functionality. No help or usage output support yet.