- update dependencies, in particular
levn
andtype-check
- this could affect behaviour of argument parsing
- changes dependency from
wordwrap
toword-wrap
due to license issue - update dependencies
- fix bug #18 - detect missing value when flag is last item
- update dependencies
- update
fast-levenshtein
dependency
- update
levn
dependency - supplying a float value to an option with typeInt
now throws an error, instead of silently converting to anInt
- fix bug with use of
defaults
andconcatRepeatedArrays
ormergeRepeatedObjects
- added
concatrepeatedarrays
option:oneValuePerFlag
, only allows one array value per flag - added
typeAliases
option - added
parseArgv
which takes an array and parses with the first two items sliced off - changed enum help style
- bug fixes (#12)
- use of
concatRepeatedArrays
andmergeRepeatedObjects
at the top level is deprecated, use it as either a per-option option, or set them in thedefaults
object to set them for all objects
- added
defaults
lib-option flag, allowing one to set default properties for all options - added
concatRepeatedArrays
andmergeRepeatedObjects
as option level properties, allowing you to turn this feature on for specific options only
Boolean
flags withdefault: 'true'
, and no short aliases, will by default show the--no
version in help
- add
mergeRepeatedObjects
setting
- add
concatRepeatedArrays
setting - add
overrideRequired
option setting - use just Levenshtein string compare algo rather than Levenshtein Damerau to due dependency license issue
- bug fixes
- improved interpolation
- added changelog
- add dependency checks to options - added
dependsOn
as an option property - add interpolation for
prepend
andappend
text with newgenerateHelp
option,interpolate
- update dependencies
- initial release