commander
Advanced tools
Changelog
[11.1.0] (2023-10-13)
OptionValueSource
to allow any string, to match supported use of custom sources ([#1983])Command.version()
can also be used as getter ([#1982])Commands.executableDir()
, for when not configured ([#1965])registeredArguments
property on Command
with the array of defined Argument
(like Command.options
for Option
) ([#2010])envVar
, presetArg
([#2019])argChoices
, defaultValue
, defaultValueDescription
([#2019])Command._args
was private anyway, but now available as registeredArguments
([#2010])Changelog
[10.0.1] (2023-04-15)
Option.optionFlags
property from TypeScript definition ([#1844]).implies()
([#1854])Changelog
[10.0.0] (2023-01-13)
Changelog
[9.5.0] (2023-01-07)
.getOptionValueSourceWithGlobals()
([#1832])showGlobalOptions
for .configureHelp{}
and Help
([#1828])Changelog
[9.4.1] (2022-09-30)
.setOptionValue()
now also clears option source ([#1795])implied
to OptionValueSource
for option values set by using .implies()
([#1794])undefined
to return type of .getOptionValueSource()
([#1794])