- 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.