commander
Advanced tools
Changelog
[4.1.1] (2020-02-02)
.action()
should include Promise for async ([#1157])Changelog
[4.1.0] (2020-01-06)
.parseAsync
to use instead of .parse
if supply async action handlers ([#806] [#1118])ts-node
in testsChangelog
[4.0.1] (2019-11-12)
Changelog
[4.0.0] (2019-11-02)
.exitOverride()
allows override of calls to process.exit
for additional error handling and to keep program running ([#1040]).requiredOptions()
([#1071])command:*
event to include unknown argumentscustomFds
option from call to child_process.spawn
([#1052])If you were previously using code like:
if (!program.args.length) ...
a partial replacement is:
if (program.rawArgs.length < 3) ...
Changelog
[2.20.1] (2019-09-29)