Skip to content Added
- support for groups of options and commands in the help using low-level
.helpGroup() on Option and Command, and higher
-level .optionsGroup() and .commandsGroup() which can be used in chaining way to specify group title for following option
s/commands (#2328)
- support for unescaped negative numbers as option-arguments and command-arguments (#2339)
- TypeScript: add
parseArg property to Argument class (#2359)
Fixed
- remove bogus leading space in help when option has default value but not a description (#2348)
.configureOutput() now makes copy of settings instead of modifying in-place, fixing side-effects (#2350)
Changed
- Breaking: Commander 14 requires Node.js v20 or higher
- internal refactor of
Help class adding .formatItemList() and .groupItems() methods (#2328)