@commander-js/extra-typings
Advanced tools
Changelog
[10.0.0] (2023-01-14)
peerDependencies
to commander@10.0.x
, which requires Node.js v14 or higherChangelog
[9.5.0] (2023-01-07)
.getOptionValueSourceWithGlobals()
([#18])showGlobalOptions
for .configureHelp{}
and Help
([#19])peerDependencies
to commander@9.5.x
Changelog
[9.4.1] (2022-11-01)
esm.mjs
to package ([#16])Changelog
[9.4.0] (2022-10-28)
processedArgs
.createOption()
.createArgument()
peerDependencies
to commander@9.4.x
Changelog
[0.3.0] (2022-09-07)
CommandUnknownOpts
for when Command not strongly typedCommandUnknownOpts
throughout Help, so can pass in commands which are Command
or CommandUnknownOpts
CommandUnknownOpts
with addCommand
.hook()
arguments.getOptionValue()
, but allow unknown and return unknown
implied
to OptionValueSource
OptionValues
to returning unknown (goodbye another any!)Changelog
[0.2.0] (2022-08-23)
[]
not undefined
string[]
rather than [string, ...string[]]
Changelog
0.1.0 (2022-08-16)
.argument()
.arguments()
.addArgument()
.command()
.option()
.addOption()
.action()
.opts()