optionator
Advanced tools
Changelog
0.7.0
concatrepeatedarrays
option: oneValuePerFlag
, only allows one array value per flagtypeAliases
optionparseArgv
which takes an array and parses with the first two items sliced offconcatRepeatedArrays
and mergeRepeatedObjects
at the top level is deprecated, use it as either a per-option option, or set them in the defaults
object to set them for all objectsChangelog
0.6.0
defaults
lib-option flag, allowing one to set default properties for all optionsconcatRepeatedArrays
and mergeRepeatedObjects
as option level properties, allowing you to turn this feature on for specific options onlyChangelog
0.5.0
Boolean
flags with default: 'true'
, and no short aliases, will by default show the --no
version in helpChangelog
0.3.0
concatRepeatedArrays
settingoverrideRequired
option settingChangelog
0.2.0
dependsOn
as an option propertyprepend
and append
text with new generateHelp
option, interpolate