This repository was archived by the owner on Apr 26, 2021. It is now read-only.
v1.1.0
Fix
- Fix #72: Add special flags to spec implicitely
Changes
- Improve special flags behavior with
opts.dontExit
. Instead of just returning
a string, return the output and add a special key.help
foropts.helpFlags
and.version
foropts.versionFlags
, respectively. - Allow dots in option names
- Improve
OptionAlias
JS representation. It is now just a string. This makes
it easy to write, read and validateopts.helpFlags
andopts.versionFlags
.