CHANGELOG.md
This file
The walk stopped after 200 commits: lines older than 471ec40 point at it.
Add copyInheritedSettings to README (#1798)John Geebefore adoption471ec40
lines 1–4why, one step back1# Changelog23All notable changes to this project will be documented in this file.4Prepare for 13.0.0-0 (#2292)John Geebefore adoption53fc8a4
line 5why, one step back5The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),Add copyInheritedSettings to README (#1798)John Geebefore adoption471ec40
lines 6–10why, one step back6and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).78<!-- markdownlint-disable MD024 -->9<!-- markdownlint-disable MD004 -->1011## [15.0.0] (2026-05-29)Switching to esm-only (#2464)John Geebefore adoptionf4bd470
lines 12–14why, one step back1213Commander 15 is ESM only. This is expected to be seamless for ESM consumers, but some CommonJS consumers may hit issues with tooling requiring configuration for ESM-only dependencies. See Migration Tips below.14Update details for 15.0.0 release (#2519)John Geebefore adoption6df9b68
line 15why, one step back15The release of Commander 15 moves Commander 14 into maintenance. Commander 14 will get security updates forUpdate changelog and version and engine for prerelease (#2484)John Geebefore adoption3f00f5b
line 16why, one step back1612 months (to May 2027). For more info see [Release Policy](./docs/release-policy.md).Switching to esm-only (#2464)John Geebefore adoptionf4bd470
lines 17–19why, one step back1718### Added19Update changelog and version and engine for prerelease (#2484)John Geebefore adoption3f00f5b
lines 20–21why, one step back20- show excess command-arguments in error message ([#2384])21Switching to esm-only (#2464)John Geebefore adoptionf4bd470
lines 22–23why, one step back22### Fixed23Update changelog and version and engine for prerelease (#2484)John Geebefore adoption3f00f5b
lines 24–26why, one step back24- *Breaking:* only lone `--no-*` option sets default option value to `true`, default not implicitly set when define both positive and negative option in either order ([#2405])25- update example to use compatible character for MINGW64 ([#2475])26Switching to esm-only (#2464)John Geebefore adoptionf4bd470
lines 27–29why, one step back27### Changed2829- *Breaking:* migrated Commander implementation from CommonJS to ESM ([#2464])Update changelog and version and engine for prerelease (#2484)John Geebefore adoption3f00f5b
line 30why, one step back30- *Breaking:* Commander 15 requires Node.js v22.12.0 or higher (for `require(esm)`).Switching to esm-only (#2464)John Geebefore adoptionf4bd470
lines 31–46why, one step back31- dev: switch tests from Jest to `node:test` test runner ([#2463])3233### Deleted3435- *Breaking:* removed deprecated export of `commander/esm.mjs` ([#2464])3637### Migration Tips3839Commander 15 is ESM only, but this does not mean you need to migrate to ESM to use it. Importing ESM from CommonJS is40supported by Node.js, and Bun, and Deno. Hopefully it Just Works for you! However, you may be using a different runtime or41some other part of your setup that may not yet natively support importing ESM from CommonJS, such as your testing framework42or bundler.4344If you have problems using Commander 15 in your environment, one option is stay on Commander 14 for now. Commander 14 will45get security updates until May 2027 and things will hopefully improve for your setup in the meantime.4647## [15.0.0-0] (2026-02-22)Update details for 15.0.0 release (#2519)John Geebefore adoption6df9b68
lines 48–50why, one step back4849(Released as 15.0.0)50Merge from develop (#2482)John Geebefore adoptionb51c0ea
lines 51–84why, one step back51## [14.0.3] (2026-01-31)5253### Added5455- Release Policy document ([#2462])56 57### Changes5859- old major versions now supported for 12 months instead of just previous major version, to give predictable end-of-life date ([#2462])60- clarify typing for deprecated callback parameter to `.outputHelp()` ([#2427])61- simple readability improvements to README ([#2465])62 63## [14.0.2] (2025-10-25)6465### Changed6667- improve negative number auto-detection test ([#2428])68- update (dev) dependencies6970## [14.0.1] (2025-09-12)7172### Fixed7374- broken markdown link in README ([#2369])7576### Changed7778- improve code readability by using optional chaining ([#2394])79- use more idiomatic code with object spread instead of `Object.assign()` ([#2395])80- improve code readability using `string.endsWith()` instead of `string.slice()` ([#2396])81- refactor `.parseOptions()` to process args array in-place ([#2409])82- change private variadic support routines from `._concatValue()` to `._collectValue()` (change code from `array.concat()` to `array.push()`) ([#2410])83- update (dev) dependencies84Preparing for Commander v14.0.0 (#2366)John Geebefore adoption395cf71
lines 85–102why, one step back85## [14.0.0] (2025-05-18)8687### Added8889- 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 options/commands ([#2328])90- support for unescaped negative numbers as option-arguments and command-arguments ([#2339])91- TypeScript: add `parseArg` property to `Argument` class ([#2359])9293### Fixed9495- remove bogus leading space in help when option has default value but not a description ([#2348])96- `.configureOutput()` now makes copy of settings instead of modifying in-place, fixing side-effects ([#2350])9798### Changed99100- *Breaking:* Commander 14 requires Node.js v20 or higher101- internal refactor of `Help` class adding `.formatItemList()` and `.groupItems()` methods ([#2328])102Add 13.1 to CHANGELOG (#2315)John Geebefore adoptionad3ecf0
lines 103–108why, one step back103## [13.1.0] (2025-01-21)104105### Added106107- support a pair of long option flags to allow a memorable shortened flag, like `.option('--ws, --workspace')` ([#2312])108Update release dateabetomobefore adoptionfa9e5ed
line 109why, one step back109## [13.0.0] (2024-12-30)Disallow excess arguments (#2223)John Geebefore adoption58c28eb
line 110why, one step back110Prepare for 13.0.0-0 (#2292)John Geebefore adoption53fc8a4
lines 111–112why, one step back111### Added112Update CHANGELOG for 13.0.0 (#2301)John Geebefore adoptionfb2c46a
lines 113–114why, one step back113- support multiple calls to `.parse()` with default settings ([#2299])114- add `.saveStateBeforeParse()` and `.restoreStateBeforeParse()` for use by subclasses ([#2299])Prepare for 13.0.0-0 (#2292)John Geebefore adoption53fc8a4
lines 115–119why, one step back115- style routines like `styleTitle()` to add color to help using `.configureHelp()` or Help subclass ([#2251])116- color related support in `.configureOutput()` for `getOutHasColors()`, `getErrHasColors()`, and `stripColor()` ([#2251])117- Help property for `minWidthToWrap` ([#2251])118- Help methods for `displayWidth()`, `boxWrap()`, `preformatted()` et al ([#2251])119Disallow excess arguments (#2223)John Geebefore adoption58c28eb
lines 120–121why, one step back120### Changed121Prepare for 13.0.0-0 (#2292)John Geebefore adoption53fc8a4
lines 122–123why, one step back122- *Breaking*: excess command-arguments cause an error by default, see migration tips ([#2223])123- *Breaking*: throw during Option construction for unsupported option flags, like multiple characters after single `-` ([#2270])Add support for dual long options when no short option (#2312)John Geebefore adoption8263b7f
line 124why, one step back124 - note: support for dual long option flags added in Commander 13.1Update CHANGELOG for 13.0.0 (#2301)John Geebefore adoptionfb2c46a
line 125why, one step back125- *Breaking*: throw on multiple calls to `.parse()` if `storeOptionsAsProperties: true` ([#2299])Prepare for 13.0.0-0 (#2292)John Geebefore adoption53fc8a4
line 126why, one step back126- TypeScript: include implicit `this` in parameters for action handler callback ([#2197])Disallow excess arguments (#2223)John Geebefore adoption58c28eb
line 127why, one step back127Prepare for 13.0.0-0 (#2292)John Geebefore adoption53fc8a4
lines 128–131why, one step back128### Deleted129130- *Breaking*: `Help.wrap()` refactored into `formatItem()` and `boxWrap()` ([#2251])131Disallow excess arguments (#2223)John Geebefore adoption58c28eb
lines 132–135why, one step back132### Migration Tips133134**Excess command-arguments**135Prepare for 13.0.0-0 (#2292)John Geebefore adoption53fc8a4
line 136why, one step back136It is now an error for the user to specify more command-arguments than are expected. (`allowExcessArguments` is now false by default.)Disallow excess arguments (#2223)John Geebefore adoption58c28eb
lines 137–146why, one step back137138Old code:139140```js141program.option('-p, --port <number>', 'port number');142program.action((options) => {143 console.log(program.args);144});145```146Prepare for 13.0.0-0 (#2292)John Geebefore adoption53fc8a4
lines 147–148why, one step back147Now shows an error:148Disallow excess arguments (#2223)John Geebefore adoption58c28eb
lines 149–164why, one step back149```console150$ node example.js a b c151error: too many arguments. Expected 0 arguments but got 3.152```153154You can declare the expected arguments. The help will then be more accurate too. Note that declaring155new arguments will change what is passed to the action handler.156157```js158program.option('-p, --port <number>', 'port number');159program.argument('[args...]', 'remote command and arguments'); // expecting zero or more arguments160program.action((args, options) => {161 console.log(args);162});163```164Prepare for 13.0.0-0 (#2292)John Geebefore adoption53fc8a4
line 165why, one step back165Or you could suppress the error, useful for minimising changes in legacy code.Disallow excess arguments (#2223)John Geebefore adoption58c28eb
lines 166–174why, one step back166167```js168program.option('-p, --port', 'port number');169program.allowExcessArguments();170program.action((options) => {171 console.log(program.args);172});173```174Add 13.1 to CHANGELOG (#2315)John Geebefore adoptionad3ecf0
lines 175–195why, one step back175**Stricter option flag parsing**176177Commander now throws an error for option flag combinations that are not supported.178In particular, a short flag with multiple characters is now an error.179180```js181program.option('-ws, --workspace'); // throws error182```183184A short option has a single character:185186```js187program.option('-w, --workspace');188```189190Or from Commander 13.1 you can have an extra long flag instead of a short flag to allow a more memorable shortcut for the full name:191192```js193program.option('--ws, --workspace');194```195Update CHANGELOG for 13.0.0 (#2301)John Geebefore adoptionfb2c46a
line 196why, one step back196## [13.0.0-0] (2024-12-07)Disallow excess arguments (#2223)John Geebefore adoption58c28eb
line 197why, one step back197Update CHANGELOG for 13.0.0 (#2301)John Geebefore adoptionfb2c46a
lines 198–199why, one step back198(Released in 13.0.0)199Prepare CHANGELOG for 12.1.0 (#2193)John Geebefore adoption4a9b211
lines 200–204why, one step back200## [12.1.0] (2024-05-18)201202### Added203204- auto-detect special node flags `node --eval` and `node --print` when call `.parse()` with no arguments ([#2164])Update CHANGELOG for 13.0.0 (#2301)John Geebefore adoptionfb2c46a
line 205why, one step back205Prepare CHANGELOG for 12.1.0 (#2193)John Geebefore adoption4a9b211
lines 206–216why, one step back206### Changed207208- prefix require of Node.js core modules with `node:` ([#2170])209- format source files with Prettier ([#2180])210- switch from StandardJS to directly calling ESLint for linting ([#2153])211- extend security support for previous major version of Commander ([#2150])212213### Removed214215- removed unimplemented Option.fullDescription from TypeScript definition ([#2191])216Merge pull request #2140 from tj/release/12.xJohn Geebefore adoptione3192a1
lines 217–273why, one step back217## [12.0.0] (2024-02-03)218219### Added220221- `.addHelpOption()` as another way of configuring built-in help option ([#2006])222- `.helpCommand()` for configuring built-in help command ([#2087])223224### Fixed225226- *Breaking:* use non-zero exit code when spawned executable subcommand terminates due to a signal ([#2023])227- *Breaking:* check `passThroughOptions` constraints when using `.addCommand` and throw if parent command does not have `.enablePositionalOptions()` enabled ([#1937])228229### Changed230231- *Breaking:* Commander 12 requires Node.js v18 or higher ([#2027])232- *Breaking:* throw an error if add an option with a flag which is already in use ([#2055])233- *Breaking:* throw an error if add a command with name or alias which is already in use ([#2059])234- *Breaking:* throw error when calling `.storeOptionsAsProperties()` after setting an option value ([#1928])235- replace non-standard JSDoc of `@api private` with documented `@private` ([#1949])236- `.addHelpCommand()` now takes a Command (passing string or boolean still works as before but deprecated) ([#2087])237- refactor internal implementation of built-in help option ([#2006])238- refactor internal implementation of built-in help command ([#2087])239240### Deprecated241242- `.addHelpCommand()` passing string or boolean (use `.helpCommand()` or pass a Command) ([#2087])243244### Removed245246- *Breaking:* removed default export of a global Command instance from CommonJS (use the named `program` export instead) ([#2017])247248### Migration Tips249250**global program**251252If you are using the [deprecated](./docs/deprecated.md#default-import-of-global-command-object) default import of the global Command object, you need to switch to using a named import (or create a new `Command`).253254```js255// const program = require('commander');256const { program } = require('commander');257```258259**option and command clashes**260261A couple of configuration problems now throw an error, which will pick up issues in existing programs:262263- adding an option which uses the same flag as a previous option264- adding a command which uses the same name or alias as a previous command265266## [12.0.0-1] (2024-01-20)267268(Released in 12.0.0)269270## [12.0.0-0] (2023-11-11)271272(Released in 12.0.0)273Update CHANGELOG for 11.1.0 (#2025)John Geebefore adoptionf1ae2db
lines 274–297why, one step back274## [11.1.0] (2023-10-13)275276### Fixed277278- TypeScript: update `OptionValueSource` to allow any string, to match supported use of custom sources ([#1983])279- TypeScript: add that `Command.version()` can also be used as getter ([#1982])280- TypeScript: add null return type to `Commands.executableDir()`, for when not configured ([#1965])281- subcommands with an executable handler and only a short help flag are now handled correctly by the parent's help command ([#1930])282283### Added284285- `registeredArguments` property on `Command` with the array of defined `Argument` (like `Command.options` for `Option`) ([#2010])286- TypeScript declarations for Option properties: `envVar`, `presetArg` ([#2019])287- TypeScript declarations for Argument properties: `argChoices`, `defaultValue`, `defaultValueDescription` ([#2019])288- example file which shows how to configure help to display any custom usage in the list of subcommands ([#1896])289290### Changed291292- (developer) refactor TypeScript configs for multiple use-cases, and enable checks in JavaScript files in supporting editors ([#1969])293294### Deprecated295296- `Command._args` was private anyway, but now available as `registeredArguments` ([#2010])297Update CHANGELOG for 11.0.0John Geebefore adoption1b8e82d
lines 298–309why, one step back298## [11.0.0] (2023-06-16)299300### Fixed301302- help command works when help option is disabled ([#1864])303304### Changed305306- leading and trailing spaces are now ignored by the .arguments() method ([#1874])307- refine "types" exports for ESM to follow TypeScript guidelines ([#1886])308- *Breaking:* Commander 11 requires Node.js v16 or higher309Update CHANGELOG and version for 10.0.1John Geebefore adoption33195f1
lines 310–323why, one step back310## [10.0.1] (2023-04-15)311312### Added313314- improvements to documentation ([#1858], [#1859], [#1860])315316### Fixed317318- remove unused `Option.optionFlags` property from TypeScript definition ([#1844])319320### Changed321322- assume boolean option intended if caller passes string instead of hash to `.implies()` ([#1854])323Update CHANGELOG (#1840)John Geebefore adoptiond0dac4c
lines 324–333why, one step back324## [10.0.0] (2023-01-13)325326### Added327328- wrap command description in help ([#1804])329330### Changed331332- *Breaking:* Commander 10 requires Node.js v14 or higher333Merge branch 'master' into release/10.xJohn Geebefore adoption2bdd631
lines 334–340why, one step back334## [9.5.0] (2023-01-07)335336### Added337338- `.getOptionValueSourceWithGlobals()` ([#1832])339- `showGlobalOptions` for `.configureHelp{}` and `Help` ([#1828])340Merge remote-tracking branch 'origin/develop' into release/10.xJohn Geebefore adoptione0f6173
lines 341–352why, one step back341## [9.4.1] (2022-09-30)342343### Fixed344345- `.setOptionValue()` now also clears option source ([#1795])346- TypeScript: add `implied` to `OptionValueSource` for option values set by using `.implies()` ([#1794])347- TypeScript : add `undefined` to return type of `.getOptionValueSource()` ([#1794])348349### Changed350351- additions to README352Add copyInheritedSettings to README (#1798)John Geebefore adoption471ec40
lines 353–425why, one step back353## [9.4.0] (2022-07-15)354355### Added356357- `preSubcommand` hook called before direct subcommands ([#1763])358359### Fixed360361- export `InvalidOptionArgumentError` in esm ([#1756])362363### Changed364365- update dependencies ([#1767])366367## [9.3.0] (2022-05-28)368369### Added370371- `.summary()` for a short summary to use instead of description when listing subcommands in help ([#1726])372- `Option.implies()` to set other option values when the option is specified ([#1724])373- updated Chinese README with 9.x changes ([#1727])374375### Fixed376377- TypeScript: add `string[]` to `.options()` default value parameter type for use with variadic options ([#1721])378379### Deprecated380381- multi-character short option flag (e.g. `-ws`) ([#1718])382383## [9.2.0] (2022-04-15)384385### Added386387- conditional export of 'types' for upcoming TypeScript module resolution ([#1703])388- example file showing two ways to add global options to subcommands ([#1708])389390### Fixed391392- detect option conflicts in parent commands of called subcommand ([#1710])393394### Changed395396- replace deprecated `String.prototype.substr` ([#1706])397398## [9.1.0] (2022-03-19)399400### Added401402- Option `.conflicts()` to set conflicting options which can not be specified together ([#1678])403- (developer) CodeQL configuration for GitHub Actions ([#1698])404405## [9.0.0] (2022-01-28)406407### Added408409- simpler ECMAScript import ([#1589])410- Option.preset() allows specifying value/arg for option when used without option-argument (especially optional, but also boolean option) ([#1652])411- `.executableDir()` for custom search for subcommands ([#1571])412- throw with helpful message if pass `Option` to `.option()` or `.requiredOption()` ([#1655])413- .`error()` for generating errors from client code just like Commander generated errors, with support for `.configureOutput()`, `.exitOverride()`, and `.showHelpAfterError()` ([#1675])414- `.optsWithGlobals()` to return merged local and global options ([#1671])415416### Changed417418- *Breaking:* Commander 9 requires Node.js v12.20.0 or higher419- update package-lock.json to lockfile@2 format ([#1659])420- `showSuggestionAfterError` is now on by default ([#1657])421- *Breaking:* default value specified for boolean option now always used as default value (see .preset() to match some previous behaviours) ([#1652])422- default value for boolean option only shown in help if true/false ([#1652])423- use command name as prefix for subcommand stand-alone executable name (with fallback to script name for backwards compatibility) ([#1571])424- allow absolute path with `executableFile` ([#1571])425- removed restriction that nested subcommands must specify `executableFile` ([#1571])Merge branch 'master' into release/10.xJohn Geebefore adoption2bdd631
lines 426–427why, one step back426- TypeScript: allow passing readonly string array to `.choices()` ([#1667])427- TypeScript: allow passing readonly string array to `.parse()`, `.parseAsync()`, `.aliases()` ([#1669])Add copyInheritedSettings to README (#1798)John Geebefore adoption471ec40
lines 428–503why, one step back428429### Fixed430431- option with optional argument not supplied on command line now works when option already has a value, whether from default value or from previous arguments ([#1652])432433### Removed434435- *Breaking:* removed internal fallback to `require.main.filename` when script not known from arguments passed to `.parse()` (can supply details using `.name()`, and `.executableDir()` or `executableFile`) ([#1571])436437## [9.0.0-1] (2022-01-15)438439(Released in 9.0.0)440441## [9.0.0-0] (2021-12-22)442443(Released in 9.0.0)444445## [8.3.0] (2021-10-22)446447### Added448449- `.getOptionValueSource()` and `.setOptionValueWithSource()`, where expected values for source are one of 'default', 'env', 'config', 'cli' ([#1613])450451### Deprecated452453- `.command('*')`, use default command instead ([#1612])454- `on('command:*')`, use `.showSuggestionAfterError()` instead ([#1612])455456## [8.2.0] (2021-09-10)457458### Added459460- `.showSuggestionAfterError()` to show suggestions after unknown command or unknown option ([#1590])461- add `Option` support for values from environment variables using `.env()` ([#1587])462463### Changed464465- show error for unknown global option before subcommand (rather than just help) ([#1590])466467### Removed468469- TypeScript declaration of unimplemented `Option` method `argumentRejected`470471## [8.1.0] (2021-07-27)472473### Added474475- `.copyInheritedSettings()` ([#1557])476- update Chinese translations of documentation for Commander v8 ([#1570])477- `Argument` methods for `.argRequired()` and `.argOptional()` ([#1567])478479## [8.0.0] (2021-06-25)480481### Added482483- `.argument(name, description)` for adding command-arguments ([#1490])484 - supports default value for optional command-arguments ([#1508])485 - supports custom processing function ([#1508])486- `.createArgument()` factory method ([#1497])487- `.addArgument()` ([#1490])488- `Argument` supports `.choices()` ([#1525])489- `.showHelpAfterError()` to display full help or a custom message after an error ([#1534])490- `.hook()` with support for `'preAction'` and `'postAction'` callbacks ([#1514])491- client typing of `.opts()` return type using TypeScript generics ([#1539])492- the number of command-arguments is checked for programs without an action handler ([#1502])493- `.getOptionValue()` and `.setOptionValue()` ([#1521])494495### Changed496497- refactor and simplify TypeScript declarations (with no default export) ([#1520])498- `.parseAsync()` is now declared as `async` ([#1513])499- *Breaking:* `Help` method `.visibleArguments()` returns array of `Argument` ([#1490])500- *Breaking:* Commander 8 requires Node.js 12 or higher ([#1500])501- *Breaking:* `CommanderError` code `commander.invalidOptionArgument` renamed `commander.invalidArgument` ([#1508])502- *Breaking:* TypeScript declaration for `.addTextHelp()` callback no longer allows result of `undefined`, now just `string` ([#1516])503- refactor `index.tab` into a file per class ([#1522])Merge branch 'develop' into release/13.xJohn Geebefore adoption5a79585
line 504why, one step back504- remove help suggestion from "unknown command" error message (see `.showHelpAfterError()`) ([#1534])Add copyInheritedSettings to README (#1798)John Geebefore adoption471ec40
lines 505–617why, one step back505- `Command` property `.arg` initialised to empty array (was previously undefined) ([#1529])506- update dependencies507508### Deprecated509510- second parameter of `cmd.description(desc, argDescriptions)` for adding argument descriptions ([#1490])511 - (use new `.argument(name, description)` instead)512- `InvalidOptionArgumentError` (replaced by `InvalidArgumentError`) ([#1508])513514### Removed515516- *Breaking:* TypeScript declaration for default export of global `Command` object ([#1520])517 - (still available as named `program` export)518519### Migration Tips520521If you have a simple program without an action handler, you will now get an error if522there are missing command-arguments.523524```js525program526 .option('-d, --debug')527 .arguments('<file>');528program.parse();529```530531```sh532$ node trivial.js 533error: missing required argument 'file'534```535536If you want to show the help in this situation, you could check the arguments before parsing:537538```js539if (process.argv.length === 2)540 program.help();541program.parse();542```543544Or, you might choose to show the help after any user error:545546```js547program.showHelpAfterError();548```549550## [8.0.0-2] (2021-06-06)551552(Released in 8.0.0)553554## [8.0.0-1] (2021-05-30)555556(Released in 8.0.0)557558## [8.0.0-0] (2021-05-23)559560(Released in 8.0.0)561562## [7.2.0] (2021-03-22)563564### Added565566- TypeScript typing for `parent` property on `Command` ([#1475])567- TypeScript typing for `.attributeName()` on `Option` ([#1483])568- support information in package ([#1477])569570### Changed571572- improvements to error messages, README, and tests573- update dependencies574575## [7.1.0] (2021-02-15)576577### Added578579- support for named imports from ECMAScript modules ([#1440])580- add `.cjs` to list of expected script file extensions ([#1449])581- allow using option choices and variadic together ([#1454])582583### Fixed584585- replace use of deprecated `process.mainModule` ([#1448])586- regression for legacy `command('*')` and call when command line includes options ([#1464])587- regression for `on('command:*', ...)` and call when command line includes unknown options ([#1464])588- display best error for combination of unknown command and unknown option (i.e. unknown command) ([#1464])589590### Changed591592- make TypeScript typings tests stricter ([#1453])593- improvements to README and tests594595## [7.0.0] (2021-01-15)596597### Added598599- `.enablePositionalOptions()` to let program and subcommand reuse same option ([#1427])600- `.passThroughOptions()` to pass options through to other programs without needing `--` ([#1427])601- `.allowExcessArguments(false)` to show an error message if there are too many command-arguments on command line for the action handler ([#1409])602- `.configureOutput()` to modify use of stdout and stderr or customise display of errors ([#1387])603- use `.addHelpText()` to add text before or after the built-in help, for just current command or also for all subcommands ([#1296])604- enhance Option class ([#1331])605 - allow hiding options from help606 - allow restricting option arguments to a list of choices607 - allow setting how default value is shown in help608- `.createOption()` to support subclassing of automatically created options (like `.createCommand()`) ([#1380])609- refactor the code generating the help into a separate public Help class ([#1365])610 - support sorting subcommands and options in help611 - support specifying wrap width (columns)612 - allow subclassing Help class613 - allow configuring Help class without subclassing614615### Changed616617- *Breaking:* options are stored safely by default, not as properties on the command ([#1409])Merge branch 'master' into release/10.xJohn Geebefore adoption2bdd631
lines 618–619why, one step back618 - this especially affects accessing options on program, use `program.opts()`619 - revert behaviour with `.storeOptionsAsProperties()`Add copyInheritedSettings to README (#1798)John Geebefore adoption471ec40
lines 620–637why, one step back620- *Breaking:* action handlers are passed options and command separately ([#1409])621- deprecated callback parameter to `.help()` and `.outputHelp()` (removed from README) ([#1296])622- *Breaking:* errors now displayed using `process.stderr.write()` instead of `console.error()`623- deprecate `.on('--help')` (removed from README) ([#1296])624- initialise the command description to empty string (previously undefined) ([#1365])625- document and annotate deprecated routines ([#1349])626627### Fixed628629- wrapping bugs in help ([#1365])630 - first line of command description was wrapping two characters early631 - pad width calculation was not including help option and help command632 - pad width calculation was including hidden options and commands633- improve backwards compatibility for custom command event listeners ([#1403])634 635### Deleted636637- *Breaking:* `.passCommandToAction()` ([#1409])Merge branch 'master' into release/10.xJohn Geebefore adoption2bdd631
line 638why, one step back638 - no longer needed as action handler is passed options and commandAdd copyInheritedSettings to README (#1798)John Geebefore adoption471ec40
line 639why, one step back639- *Breaking:* "extra arguments" parameter to action handler ([#1409])Merge branch 'master' into release/10.xJohn Geebefore adoption2bdd631
line 640why, one step back640 - if being used to detect excess arguments, there is now an error available by setting `.allowExcessArguments(false)`Add copyInheritedSettings to README (#1798)John Geebefore adoption471ec40
lines 641–724why, one step back641642### Migration Tips643644The biggest change is the parsed option values. Previously the options were stored by default as properties on the command object, and now the options are stored separately.645646If you wish to restore the old behaviour and get running quickly you can call `.storeOptionsAsProperties()`.647To allow you to move to the new code patterns incrementally, the action handler will be passed the command _twice_,648to match the new "options" and "command" parameters (see below).649650**program options**651652Use the `.opts()` method to access the options. This is available on any command but is used most with the program.653654```js655program.option('-d, --debug');656program.parse();657// Old code before Commander 7658if (program.debug) console.log(`Program name is ${program.name()}`);659```660661```js662// New code663const options = program.opts();664if (options.debug) console.log(`Program name is ${program.name()}`);665```666667**action handler**668669The action handler gets passed a parameter for each command-argument you declared. Previously by default the next parameter was the command object with the options as properties. Now the next two parameters are instead the options and the command. If you670only accessed the options there may be no code changes required.671672```js673program674 .command('compress <filename>')675 .option('-t, --trace')676 // Old code before Commander 7677 .action((filename, cmd) => {678 if (cmd.trace) console.log(`Command name is ${cmd.name()}`);679 });680```681682```js683 // New code684 .action((filename, options, command) => {685 if (options.trace) console.log(`Command name is ${command.name()}`);686 });687```688689If you already set `.storeOptionsAsProperties(false)` you may still need to adjust your code.690691```js692program693 .command('compress <filename>')694 .storeOptionsAsProperties(false)695 .option('-t, --trace')696 // Old code before Commander 7697 .action((filename, command) => {698 if (command.opts().trace) console.log(`Command name is ${command.name()}`);699 });700```701702```js703 // New code704 .action((filename, options, command) => {705 if (command.opts().trace) console.log(`Command name is ${command.name()}`);706 });707```708709## [7.0.0-2] (2020-12-14)710711(Released in 7.0.0)712713## [7.0.0-1] (2020-11-21)714715(Released in 7.0.0)716717## [7.0.0-0] (2020-10-25)718719(Released in 7.0.0)720721## [6.2.1] (2020-12-13)722723### Fixed724Merge branch 'master' into release/10.xJohn Geebefore adoption2bdd631
line 725why, one step back725- some tests failed if directory path included a space ([#1390])Add copyInheritedSettings to README (#1798)John Geebefore adoption471ec40
lines 726–1326why, one step back726727## [6.2.0] (2020-10-25)728729### Added730731- added 'tsx' file extension for stand-alone executable subcommands ([#1368])732- documented second parameter to `.description()` to describe command arguments ([#1353])733- documentation of special cases with options taking varying numbers of option-arguments ([#1332])734- documentation for terminology ([#1361])735 736### Fixed737738- add missing TypeScript definition for `.addHelpCommand()' ([#1375])739- removed blank line after "Arguments:" in help, to match "Options:" and "Commands:" ([#1360])740741### Changed742743- update dependencies744745## [6.1.0] (2020-08-28)746747### Added748749- include URL to relevant section of README for error for potential conflict between Command properties and option values ([#1306])750- `.combineFlagAndOptionalValue(false)` to ease upgrade path from older versions of Commander ([#1326])751- allow disabling the built-in help option using `.helpOption(false)` ([#1325])752- allow just some arguments in `argumentDescription` to `.description()` ([#1323])753754### Changed755756- tidy async test and remove lint override ([#1312])757758### Fixed759760- executable subcommand launching when script path not known ([#1322])761762## [6.0.0] (2020-07-21)763764### Added765766- add support for variadic options ([#1250])767- allow options to be added with just a short flag ([#1256])768 - *Breaking* the option property has same case as flag. e.g. flag `-n` accessed as `opts().n` (previously uppercase)769- *Breaking* throw an error if there might be a clash between option name and a Command property, with advice on how to resolve ([#1275])770771### Fixed772773- Options which contain -no- in the middle of the option flag should not be treated as negatable. ([#1301])774775## [6.0.0-0] (2020-06-20)776777(Released in 6.0.0)778779## [5.1.0] (2020-04-25)780781### Added782783- support for multiple command aliases, the first of which is shown in the auto-generated help ([#531], [#1236])784- configuration support in `addCommand()` for `hidden` and `isDefault` ([#1232])785786### Fixed787788- omit masked help flags from the displayed help ([#645], [#1247])789- remove old short help flag when change help flags using `helpOption` ([#1248])790791### Changed792793- remove use of `arguments` to improve auto-generated help in editors ([#1235])794- rename `.command()` configuration `noHelp` to `hidden` (but not remove old support) ([#1232])795- improvements to documentation796- update dependencies797- update tested versions of node798- eliminate lint errors in TypeScript ([#1208])799800## [5.0.0] (2020-03-14)801802### Added803804* support for nested commands with action-handlers ([#1] [#764] [#1149])805* `.addCommand()` for adding a separately configured command ([#764] [#1149])806* allow a non-executable to be set as the default command ([#742] [#1149])807* implicit help command when there are subcommands (previously only if executables) ([#1149])808* customise implicit help command with `.addHelpCommand()` ([#1149])809* display error message for unknown subcommand, by default ([#432] [#1088] [#1149])810* display help for missing subcommand, by default ([#1088] [#1149])811* combined short options as single argument may include boolean flags and value flag and value (e.g. `-a -b -p 80` can be written as `-abp80`) ([#1145])812* `.parseOption()` includes short flag and long flag expansions ([#1145])813* `.helpInformation()` returns help text as a string, previously a private routine ([#1169])814* `.parse()` implicitly uses `process.argv` if arguments not specified ([#1172])815* optionally specify where `.parse()` arguments "from", if not following node conventions ([#512] [#1172])816* suggest help option along with unknown command error ([#1179])817* TypeScript definition for `commands` property of `Command` ([#1184])818* export `program` property ([#1195])819* `createCommand` factory method to simplify subclassing ([#1191])820821### Fixed822823* preserve argument order in subcommands ([#508] [#962] [#1138])824* do not emit `command:*` for executable subcommands ([#809] [#1149])825* action handler called whether or not there are non-option arguments ([#1062] [#1149])826* combining option short flag and value in single argument now works for subcommands ([#1145])827* only add implicit help command when it will not conflict with other uses of argument ([#1153] [#1149])828* implicit help command works with command aliases ([#948] [#1149])829* options are validated whether or not there is an action handler ([#1149])830831### Changed832833* *Breaking* `.args` contains command arguments with just recognised options removed ([#1032] [#1138])834* *Breaking* display error if required argument for command is missing ([#995] [#1149])835* tighten TypeScript definition of custom option processing function passed to `.option()` ([#1119])836* *Breaking* `.allowUnknownOption()` ([#802] [#1138])837 * unknown options included in arguments passed to command action handler838 * unknown options included in `.args`839* only recognised option short flags and long flags are expanded (e.g. `-ab` or `--foo=bar`) ([#1145])840* *Breaking* `.parseOptions()` ([#1138])841 * `args` in returned result renamed `operands` and does not include anything after first unknown option842 * `unknown` in returned result has arguments after first unknown option including operands, not just options and values843* *Breaking* `.on('command:*', callback)` and other command events passed (changed) results from `.parseOptions`, i.e. operands and unknown ([#1138])844* refactor Option from prototype to class ([#1133])845* refactor Command from prototype to class ([#1159])846* changes to error handling ([#1165])847 * throw for author error, not just display message848 * preflight for variadic error849 * add tips to missing subcommand executable850* TypeScript fluent return types changed to be more subclass friendly, return `this` rather than `Command` ([#1180])851* `.parseAsync` returns `Promise<this>` to be consistent with `.parse()` ([#1180])852* update dependencies853854### Removed855856* removed EventEmitter from TypeScript definition for Command, eliminating implicit peer dependency on `@types/node` ([#1146])857* removed private function `normalize` (the functionality has been integrated into `parseOptions`) ([#1145])858* `parseExpectedArgs` is now private ([#1149])859860### Migration Tips861862If you use `.on('command:*')` or more complicated tests to detect an unrecognised subcommand, you may be able to delete the code and rely on the default behaviour.863864If you use `program.args` or more complicated tests to detect a missing subcommand, you may be able to delete the code and rely on the default behaviour.865866If you use `.command('*')` to add a default command, you may be be able to switch to `isDefault:true` with a named command.867868If you want to continue combining short options with optional values as though they were boolean flags, set `combineFlagAndOptionalValue(false)`869to expand `-fb` to `-f -b` rather than `-f b`.870871## [5.0.0-4] (2020-03-03)872873(Released in 5.0.0)874875## [5.0.0-3] (2020-02-20)876877(Released in 5.0.0)878879## [5.0.0-2] (2020-02-10)880881(Released in 5.0.0)882883## [5.0.0-1] (2020-02-08)884885(Released in 5.0.0)886887## [5.0.0-0] (2020-02-02)888889(Released in 5.0.0)890891## [4.1.1] (2020-02-02)892893### Fixed894895* TypeScript definition for `.action()` should include Promise for async ([#1157])896897## [4.1.0] (2020-01-06)898899### Added900901* two routines to change how option values are handled, and eliminate name clashes with command properties ([#933] [#1102])902 * see storeOptionsAsProperties and passCommandToAction in README903* `.parseAsync` to use instead of `.parse` if supply async action handlers ([#806] [#1118])904905### Fixed906907* Remove trailing blanks from wrapped help text ([#1096])908909### Changed910911* update dependencies912* extend security coverage for Commander 2.x to 2020-02-03913* improvements to README914* improvements to TypeScript definition documentation915* move old versions out of main CHANGELOG916* removed explicit use of `ts-node` in tests917918## [4.0.1] (2019-11-12)919920### Fixed921922* display help when requested, even if there are missing required options ([#1091])923924## [4.0.0] (2019-11-02)925926### Added927928* automatically wrap and indent help descriptions for options and commands ([#1051])929* `.exitOverride()` allows override of calls to `process.exit` for additional error handling and to keep program running ([#1040])930* support for declaring required options with `.requiredOptions()` ([#1071])931* GitHub Actions support ([#1027])932* translation links in README933934### Changed935936* dev: switch tests from Sinon+Should to Jest with major rewrite of tests ([#1035])937* call default subcommand even when there are unknown options ([#1047])938* *Breaking* Commander is only officially supported on Node 8 and above, and requires Node 6 ([#1053])939940### Fixed941942* *Breaking* keep command object out of program.args when action handler called ([#1048])943 * also, action handler now passed array of unknown arguments944* complain about unknown options when program argument supplied and action handler ([#1049])945 * this changes parameters to `command:*` event to include unknown arguments946* removed deprecated `customFds` option from call to `child_process.spawn` ([#1052])947* rework TypeScript declarations to bring all types into imported namespace ([#1081])948949### Migration Tips950951#### Testing for no arguments952953If you were previously using code like:954955```js956if (!program.args.length) ...957```958959a partial replacement is:960961```js962if (program.rawArgs.length < 3) ...963```964965## [4.0.0-1] Prerelease (2019-10-08)966967(Released in 4.0.0)968969## [4.0.0-0] Prerelease (2019-10-01)970971(Released in 4.0.0)972973## [3.0.2] (2019-09-27)974975<!-- markdownlint-disable MD024 -->976977### Fixed978979* Improve tracking of executable subcommands.980981### Changed982983* update development dependencies984985## [3.0.1] (2019-08-30)986987### Added988989* .name and .usage to README ([#1010])990* Table of Contents to README ([#1010])991* TypeScript definition for `executableFile` in CommandOptions ([#1028])992993### Changed994995* consistently use `const` rather than `var` in README ([#1026])996997### Fixed998999* help for sub commands with custom executableFile ([#1018])10001001## [3.0.0] / 2019-08-0810021003* Add option to specify executable file name ([#999])1004 * e.g. `.command('clone', 'clone description', { executableFile: 'myClone' })`1005* Change docs for `.command` to contrast action handler vs git-style executable. ([#938] [#990])1006* **Breaking** Change TypeScript to use overloaded function for `.command`. ([#938] [#990])1007* Change to use straight quotes around strings in error messages (like 'this' instead of `this') ([#915])1008* Add TypeScript "reference types" for node ([#974])1009* Add support for hyphen as an option argument in subcommands ([#697])1010* Add support for a short option flag and its value to be concatenated for action handler subcommands ([#599])1011 * e.g. `-p 80` can also be supplied as `-p80`1012* Add executable arguments to spawn in win32, for git-style executables ([#611])1013 * e.g. `node --harmony myCommand.js clone`1014* Add parent command as prefix of subcommand in help ([#980])1015* Add optional custom description to `.version` ([#963])1016 * e.g. `program.version('0.0.1', '-v, --vers', 'output the current version')`1017* Add `.helpOption(flags, description)` routine to customise help flags and description ([#963])1018 * e.g. `.helpOption('-e, --HELP', 'read more information')`1019* Fix behavior of --no-* options ([#795])1020 * can now define both `--foo` and `--no-foo`1021 * **Breaking** custom event listeners: `--no-foo` on cli now emits `option:no-foo` (previously `option:foo`)1022 * **Breaking** default value: defining `--no-foo` after defining `--foo` leaves the default value unchanged (previously set it to false)1023 * allow boolean default value, such as from environment ([#987])1024* Increment inspector port for spawned subcommands ([#991])1025 * e.g. `node --inspect myCommand.js clone`10261027### Migration Tips10281029The custom event for a negated option like `--no-foo` is `option:no-foo` (previously `option:foo`).10301031```js1032program1033 .option('--no-foo')1034 .on('option:no-foo', () => {1035 console.log('removing foo');1036 });1037```10381039When using TypeScript, adding a command does not allow an explicit `undefined` for an unwanted executable description (e.g1040for a command with an action handler).10411042```js1043program1044 .command('action1', undefined, { noHelp: true }) // No longer valid1045 .command('action2', { noHelp: true }) // Correct1046```10471048## 3.0.0-0 Prerelease / 2019-07-2810491050(Released as 3.0.0)10511052## [2.20.1] (2019-09-29)10531054### Fixed10551056* Improve tracking of executable subcommands.10571058### Changed10591060* update development dependencies10611062## 2.20.0 / 2019-04-0210631064* fix: resolve symbolic links completely when hunting for subcommands (#935)1065* Update index.d.ts (#930)1066* Update Readme.md (#924)1067* Remove --save option as it isn't required anymore (#918)1068* Add link to the license file (#900)1069* Added example of receiving args from options (#858)1070* Added missing semicolon (#882)1071* Add extension to .eslintrc (#876)10721073## 2.19.0 / 2018-10-0210741075* Removed newline after Options and Commands headers (#864)1076* Bugfix - Error output (#862)1077* Fix to change default value to string (#856)10781079## 2.18.0 / 2018-09-0710801081* Standardize help output (#853)1082* chmod 644 travis.yml (#851)1083* add support for execute typescript subcommand via ts-node (#849)10841085## 2.17.1 / 2018-08-0710861087* Fix bug in command emit (#844)10881089## 2.17.0 / 2018-08-0310901091* fixed newline output after help information (#833)1092* Fix to emit the action even without command (#778)1093* npm update (#823)10941095## 2.16.0 / 2018-06-2910961097* Remove Makefile and `test/run` (#821)1098* Make 'npm test' run on Windows (#820)1099* Add badge to display install size (#807)1100* chore: cache node_modules (#814)1101* chore: remove Node.js 4 (EOL), add Node.js 10 (#813)1102* fixed typo in readme (#812)1103* Fix types (#804)1104* Update eslint to resolve vulnerabilities in lodash (#799)1105* updated readme with custom event listeners. (#791)1106* fix tests (#794)11071108## 2.15.0 / 2018-03-0711091110* Update downloads badge to point to graph of downloads over time instead of duplicating link to npm1111* Arguments description11121113## 2.14.1 / 2018-02-0711141115* Fix typing of help function11161117## 2.14.0 / 2018-02-0511181119* only register the option:version event once1120* Fixes issue #727: Passing empty string for option on command is set to undefined1121* enable eqeqeq rule1122* resolves #754 add linter configuration to project1123* resolves #560 respect custom name for version option1124* document how to override the version flag1125* document using options per command11261127## 2.13.0 / 2018-01-0911281129* Do not print default for --no-1130* remove trailing spaces in command help1131* Update CI's Node.js to LTS and latest version1132* typedefs: Command and Option types added to commander namespace11331134## 2.12.2 / 2017-11-2811351136* fix: typings are not shipped11371138## 2.12.1 / 2017-11-2311391140* Move @types/node to dev dependency11411142## 2.12.0 / 2017-11-2211431144* add attributeName() method to Option objects1145* Documentation updated for options with --no prefix1146* typings: `outputHelp` takes a string as the first parameter1147* typings: use overloads1148* feat(typings): update to match js api1149* Print default value in option help1150* Fix translation error1151* Fail when using same command and alias (#491)1152* feat(typings): add help callback1153* fix bug when description is add after command with options (#662)1154* Format js code1155* Rename History.md to CHANGELOG.md (#668)1156* feat(typings): add typings to support TypeScript (#646)1157* use current node11581159## 2.11.0 / 2017-07-0311601161* Fix help section order and padding (#652)1162* feature: support for signals to subcommands (#632)1163* Fixed #37, --help should not display first (#447)1164* Fix translation errors. (#570)1165* Add package-lock.json1166* Remove engines1167* Upgrade package version1168* Prefix events to prevent conflicts between commands and options (#494)1169* Removing dependency on graceful-readlink1170* Support setting name in #name function and make it chainable1171* Add .vscode directory to .gitignore (Visual Studio Code metadata)1172* Updated link to ruby commander in readme files11731174## 2.10.0 / 2017-06-1911751176* Update .travis.yml. drop support for older node.js versions.1177* Fix require arguments in README.md1178* On SemVer you do not start from 0.0.11179* Add missing semi colon in readme1180* Add save param to npm install1181* node v6 travis test1182* Update Readme_zh-CN.md1183* Allow literal '--' to be passed-through as an argument1184* Test subcommand alias help1185* link build badge to master branch1186* Support the alias of Git style sub-command1187* added keyword commander for better search result on npm1188* Fix Sub-Subcommands1189* test node.js stable1190* Fixes TypeError when a command has an option called `--description`1191* Update README.md to make it beginner friendly and elaborate on the difference between angled and square brackets.1192* Add chinese Readme file11931194## 2.9.0 / 2015-10-1311951196* Add option `isDefault` to set default subcommand #415 @Qix-1197* Add callback to allow filtering or post-processing of help text #434 @djulien1198* Fix `undefined` text in help information close #414 #416 @zhiyelee11991200## 2.8.1 / 2015-04-2212011202* Back out `support multiline description` Close #396 #39712031204## 2.8.0 / 2015-04-0712051206* Add `process.execArg` support, execution args like `--harmony` will be passed to sub-commands #387 @DigitalIO @zhiyelee1207* Fix bug in Git-style sub-commands #372 @zhiyelee1208* Allow commands to be hidden from help #383 @tonylukasavage1209* When git-style sub-commands are in use, yet none are called, display help #382 @claylo1210* Add ability to specify arguments syntax for top-level command #258 @rrthomas1211* Support multiline descriptions #208 @zxqfox12121213## 2.7.1 / 2015-03-1112141215* Revert #347 (fix collisions when option and first arg have same name) which causes a bug in #367.12161217## 2.7.0 / 2015-03-0912181219* Fix git-style bug when installed globally. Close #335 #349 @zhiyelee1220* Fix collisions when option and first arg have same name. Close #346 #347 @tonylukasavage1221* Add support for camelCase on `opts()`. Close #353 @nkzawa1222* Add node.js 0.12 and io.js to travis.yml1223* Allow RegEx options. #337 @palanik1224* Fixes exit code when sub-command failing. Close #260 #332 @pirelenito1225* git-style `bin` files in $PATH make sense. Close #196 #327 @zhiyelee12261227## 2.6.0 / 2014-12-3012281229* added `Command#allowUnknownOption` method. Close #138 #318 @doozr @zhiyelee1230* Add application description to the help msg. Close #112 @dalssoft12311232## 2.5.1 / 2014-12-1512331234* fixed two bugs incurred by variadic arguments. Close #291 @Quentin01 #302 @zhiyelee12351236## 2.5.0 / 2014-10-2412371238* add support for variadic arguments. Closes #277 @whitlockjc12391240## 2.4.0 / 2014-10-1712411242* fixed a bug on executing the coercion function of subcommands option. Closes #2701243* added `Command.prototype.name` to retrieve command name. Closes #264 #266 @tonylukasavage1244* added `Command.prototype.opts` to retrieve all the options as a simple object of key-value pairs. Closes #262 @tonylukasavage1245* fixed a bug on subcommand name. Closes #248 @jonathandelgado1246* fixed function normalize doesn’t honor option terminator. Closes #216 @abbr12471248## 2.3.0 / 2014-07-1612491250* add command alias'. Closes PR #2101251* fix: Typos. Closes #991252* fix: Unused fs module. Closes #21712531254## 2.2.0 / 2014-03-2912551256* add passing of previous option value1257* fix: support subcommands on windows. Closes #1421258* Now the defaultValue passed as the second argument of the coercion function.12591260## 2.1.0 / 2013-11-2112611262* add: allow cflag style option params, unit test, fixes #17412631264## 2.0.0 / 2013-07-1812651266* remove input methods (.prompt, .confirm, etc)12671268## 0.6.1 / 2012-06-0112691270* Added: append (yes or no) on confirmation1271* Added: allow node.js v0.7.x12721273## 0.6.0 / 2012-04-1012741275* Added `.prompt(obj, callback)` support. Closes #491276* Added default support to .choose(). Closes #411277* Fixed the choice example12781279## 0.5.1 / 2011-12-2012801281* Fixed `password()` for recent nodes. Closes #3612821283## 0.5.0 / 2011-12-0412841285* Added sub-command option support [itay]12861287## 0.4.3 / 2011-12-0412881289* Fixed custom help ordering. Closes #3212901291## 0.4.2 / 2011-11-2412921293* Added travis support1294* Fixed: line-buffered input automatically trimmed. Closes #3112951296## 0.4.1 / 2011-11-1812971298* Removed listening for "close" on --help12991300## 0.4.0 / 2011-11-1513011302* Added support for `--`. Closes #2413031304## 0.3.3 / 2011-11-1413051306* Fixed: wait for close event when writing help info [Jerry Hamlet]13071308## 0.3.2 / 2011-11-0113091310* Fixed long flag definitions with values [felixge]13111312## 0.3.1 / 2011-10-3113131314* Changed `--version` short flag to `-V` from `-v`1315* Changed `.version()` so it's configurable [felixge]13161317## 0.3.0 / 2011-10-3113181319* Added support for long flags only. Closes #1813201321## 0.2.1 / 2011-10-2413221323* "node": ">= 0.4.x < 0.7.0". Closes #2013241325## 0.2.0 / 2011-09-261326Merge branch 'develop' into release/13.xJohn Geebefore adoption5a79585
line 1327why, one step back1327* Allow for defaults that are not just boolean. Default reassignment only occurs for --no-*, optional, and required arguments. [Jim Isaacs]Add copyInheritedSettings to README (#1798)John Geebefore adoption471ec40
lines 1328–1396why, one step back13281329## 0.1.0 / 2011-08-2413301331* Added support for custom `--help` output13321333## 0.0.5 / 2011-08-1813341335* Changed: when the user enters nothing prompt for password again1336* Fixed issue with passwords beginning with numbers [NuckChorris]13371338## 0.0.4 / 2011-08-1513391340* Fixed `Commander#args`13411342## 0.0.3 / 2011-08-1513431344* Added default option value support13451346## 0.0.2 / 2011-08-1513471348* Added mask support to `Command#password(str[, mask], fn)`1349* Added `Command#password(str, fn)`13501351## 0.0.1 / 2010-01-0313521353* Initial release13541355<!-- markdown reference links -->13561357[#948]: https://github.com/tj/commander.js/issues/9481358[#1032]: https://github.com/tj/commander.js/issues/10321359[#1250]: https://github.com/tj/commander.js/pull/12501360[#1256]: https://github.com/tj/commander.js/pull/12561361[#1275]: https://github.com/tj/commander.js/pull/12751362[#1296]: https://github.com/tj/commander.js/pull/12961363[#1301]: https://github.com/tj/commander.js/issues/13011364[#1306]: https://github.com/tj/commander.js/pull/13061365[#1312]: https://github.com/tj/commander.js/pull/13121366[#1322]: https://github.com/tj/commander.js/pull/13221367[#1323]: https://github.com/tj/commander.js/pull/13231368[#1325]: https://github.com/tj/commander.js/pull/13251369[#1326]: https://github.com/tj/commander.js/pull/13261370[#1331]: https://github.com/tj/commander.js/pull/13311371[#1332]: https://github.com/tj/commander.js/pull/13321372[#1349]: https://github.com/tj/commander.js/pull/13491373[#1353]: https://github.com/tj/commander.js/pull/13531374[#1360]: https://github.com/tj/commander.js/pull/13601375[#1361]: https://github.com/tj/commander.js/pull/13611376[#1365]: https://github.com/tj/commander.js/pull/13651377[#1368]: https://github.com/tj/commander.js/pull/13681378[#1375]: https://github.com/tj/commander.js/pull/13751379[#1380]: https://github.com/tj/commander.js/pull/13801380[#1387]: https://github.com/tj/commander.js/pull/13871381[#1390]: https://github.com/tj/commander.js/pull/13901382[#1403]: https://github.com/tj/commander.js/pull/14031383[#1409]: https://github.com/tj/commander.js/pull/14091384[#1427]: https://github.com/tj/commander.js/pull/14271385[#1440]: https://github.com/tj/commander.js/pull/14401386[#1448]: https://github.com/tj/commander.js/pull/14481387[#1449]: https://github.com/tj/commander.js/pull/14491388[#1453]: https://github.com/tj/commander.js/pull/14531389[#1454]: https://github.com/tj/commander.js/pull/14541390[#1464]: https://github.com/tj/commander.js/pull/14641391[#1475]: https://github.com/tj/commander.js/pull/14751392[#1477]: https://github.com/tj/commander.js/pull/14771393[#1483]: https://github.com/tj/commander.js/pull/14831394[#1490]: https://github.com/tj/commander.js/pull/14901395[#1497]: https://github.com/tj/commander.js/pull/14971396[#1500]: https://github.com/tj/commander.js/pull/1500Merge branch 'master' into release/10.xJohn Geebefore adoption2bdd631
line 1397why, one step back1397[#1502]: https://github.com/tj/commander.js/pull/1502Add copyInheritedSettings to README (#1798)John Geebefore adoption471ec40
lines 1398–1439why, one step back1398[#1508]: https://github.com/tj/commander.js/pull/15081399[#1513]: https://github.com/tj/commander.js/pull/15131400[#1514]: https://github.com/tj/commander.js/pull/15141401[#1516]: https://github.com/tj/commander.js/pull/15161402[#1520]: https://github.com/tj/commander.js/pull/15201403[#1521]: https://github.com/tj/commander.js/pull/15211404[#1522]: https://github.com/tj/commander.js/pull/15221405[#1525]: https://github.com/tj/commander.js/pull/15251406[#1529]: https://github.com/tj/commander.js/pull/15291407[#1534]: https://github.com/tj/commander.js/pull/15341408[#1539]: https://github.com/tj/commander.js/pull/15391409[#1557]: https://github.com/tj/commander.js/pull/15571410[#1567]: https://github.com/tj/commander.js/pull/15671411[#1570]: https://github.com/tj/commander.js/pull/15701412[#1571]: https://github.com/tj/commander.js/pull/15711413[#1587]: https://github.com/tj/commander.js/pull/15871414[#1589]: https://github.com/tj/commander.js/pull/15891415[#1590]: https://github.com/tj/commander.js/pull/15901416[#1612]: https://github.com/tj/commander.js/pull/16121417[#1613]: https://github.com/tj/commander.js/pull/16131418[#1652]: https://github.com/tj/commander.js/pull/16521419[#1655]: https://github.com/tj/commander.js/pull/16551420[#1657]: https://github.com/tj/commander.js/pull/16571421[#1659]: https://github.com/tj/commander.js/pull/16591422[#1667]: https://github.com/tj/commander.js/pull/16671423[#1669]: https://github.com/tj/commander.js/pull/16691424[#1671]: https://github.com/tj/commander.js/pull/16711425[#1675]: https://github.com/tj/commander.js/pull/16751426[#1678]: https://github.com/tj/commander.js/pull/16781427[#1698]: https://github.com/tj/commander.js/pull/16981428[#1703]: https://github.com/tj/commander.js/pull/17031429[#1706]: https://github.com/tj/commander.js/pull/17061430[#1708]: https://github.com/tj/commander.js/pull/17081431[#1710]: https://github.com/tj/commander.js/pull/17101432[#1718]: https://github.com/tj/commander.js/pull/17181433[#1721]: https://github.com/tj/commander.js/pull/17211434[#1724]: https://github.com/tj/commander.js/pull/17241435[#1726]: https://github.com/tj/commander.js/pull/17261436[#1727]: https://github.com/tj/commander.js/pull/17271437[#1756]: https://github.com/tj/commander.js/pull/17561438[#1763]: https://github.com/tj/commander.js/pull/17631439[#1767]: https://github.com/tj/commander.js/pull/1767Merge remote-tracking branch 'origin/develop' into release/10.xJohn Geebefore adoptione0f6173
lines 1440–1441why, one step back1440[#1794]: https://github.com/tj/commander.js/pull/17941441[#1795]: https://github.com/tj/commander.js/pull/1795Update CHANGELOG (#1840)John Geebefore adoptiond0dac4c
line 1442why, one step back1442[#1804]: https://github.com/tj/commander.js/pull/1804Merge branch 'master' into release/10.xJohn Geebefore adoption2bdd631
lines 1443–1444why, one step back1443[#1832]: https://github.com/tj/commander.js/pull/18321444[#1828]: https://github.com/tj/commander.js/pull/1828Update CHANGELOG and version for 10.0.1John Geebefore adoption33195f1
lines 1445–1449why, one step back1445[#1844]: https://github.com/tj/commander.js/pull/18441446[#1854]: https://github.com/tj/commander.js/pull/18541447[#1858]: https://github.com/tj/commander.js/pull/18581448[#1859]: https://github.com/tj/commander.js/pull/18591449[#1860]: https://github.com/tj/commander.js/pull/1860Update CHANGELOG for 11.0.0John Geebefore adoption1b8e82d
lines 1450–1452why, one step back1450[#1864]: https://github.com/tj/commander.js/pull/18641451[#1874]: https://github.com/tj/commander.js/pull/18741452[#1886]: https://github.com/tj/commander.js/pull/1886Update CHANGELOG for 11.1.0 (#2025)John Geebefore adoptionf1ae2db
line 1453why, one step back1453[#1896]: https://github.com/tj/commander.js/pull/1896Merge pull request #2140 from tj/release/12.xJohn Geebefore adoptione3192a1
line 1454why, one step back1454[#1928]: https://github.com/tj/commander.js/pull/1928Update CHANGELOG for 11.1.0 (#2025)John Geebefore adoptionf1ae2db
line 1455why, one step back1455[#1930]: https://github.com/tj/commander.js/pull/1930Merge pull request #2140 from tj/release/12.xJohn Geebefore adoptione3192a1
lines 1456–1457why, one step back1456[#1937]: https://github.com/tj/commander.js/pull/19371457[#1949]: https://github.com/tj/commander.js/pull/1949Update CHANGELOG for 11.1.0 (#2025)John Geebefore adoptionf1ae2db
lines 1458–1461why, one step back1458[#1965]: https://github.com/tj/commander.js/pull/19651459[#1969]: https://github.com/tj/commander.js/pull/19691460[#1982]: https://github.com/tj/commander.js/pull/19821461[#1983]: https://github.com/tj/commander.js/pull/1983Merge pull request #2140 from tj/release/12.xJohn Geebefore adoptione3192a1
line 1462why, one step back1462[#2006]: https://github.com/tj/commander.js/pull/2006Update CHANGELOG for 11.1.0 (#2025)John Geebefore adoptionf1ae2db
line 1463why, one step back1463[#2010]: https://github.com/tj/commander.js/pull/2010Merge pull request #2140 from tj/release/12.xJohn Geebefore adoptione3192a1
line 1464why, one step back1464[#2017]: https://github.com/tj/commander.js/pull/2017Update CHANGELOG for 11.1.0 (#2025)John Geebefore adoptionf1ae2db
line 1465why, one step back1465[#2019]: https://github.com/tj/commander.js/pull/2019Merge pull request #2140 from tj/release/12.xJohn Geebefore adoptione3192a1
lines 1466–1470why, one step back1466[#2023]: https://github.com/tj/commander.js/pull/20231467[#2027]: https://github.com/tj/commander.js/pull/20271468[#2055]: https://github.com/tj/commander.js/pull/20551469[#2059]: https://github.com/tj/commander.js/pull/20591470[#2087]: https://github.com/tj/commander.js/pull/2087Prepare CHANGELOG for 12.1.0 (#2193)John Geebefore adoption4a9b211
lines 1471–1476why, one step back1471[#2150]: https://github.com/tj/commander.js/pull/21501472[#2153]: https://github.com/tj/commander.js/pull/21531473[#2164]: https://github.com/tj/commander.js/pull/21641474[#2170]: https://github.com/tj/commander.js/pull/21701475[#2180]: https://github.com/tj/commander.js/pull/21801476[#2191]: https://github.com/tj/commander.js/pull/2191Add links to CHANGELOGJohn Geebefore adoption37e86af
lines 1477–1480why, one step back1477[#2197]: https://github.com/tj/commander.js/pull/21971478[#2223]: https://github.com/tj/commander.js/pull/22231479[#2251]: https://github.com/tj/commander.js/pull/22511480[#2270]: https://github.com/tj/commander.js/pull/2270Update CHANGELOG for 13.0.0 (#2301)John Geebefore adoptionfb2c46a
line 1481why, one step back1481[#2299]: https://github.com/tj/commander.js/pull/2299Add 13.1 to CHANGELOG (#2315)John Geebefore adoptionad3ecf0
line 1482why, one step back1482[#2312]: https://github.com/tj/commander.js/pull/2312Preparing for Commander v14.0.0 (#2366)John Geebefore adoption395cf71
lines 1483–1487why, one step back1483[#2328]: https://github.com/tj/commander.js/pull/23281484[#2339]: https://github.com/tj/commander.js/pull/23391485[#2348]: https://github.com/tj/commander.js/pull/23481486[#2350]: https://github.com/tj/commander.js/pull/23501487[#2359]: https://github.com/tj/commander.js/pull/2359Merge from develop (#2482)John Geebefore adoptionb51c0ea
line 1488why, one step back1488[#2369]: https://github.com/tj/commander.js/pull/2369Update changelog and version and engine for prerelease (#2484)John Geebefore adoption3f00f5b
line 1489why, one step back1489[#2384]: https://github.com/tj/commander.js/pull/2384Merge from develop (#2482)John Geebefore adoptionb51c0ea
lines 1490–1492why, one step back1490[#2394]: https://github.com/tj/commander.js/pull/23941491[#2395]: https://github.com/tj/commander.js/pull/23951492[#2396]: https://github.com/tj/commander.js/pull/2396Update changelog and version and engine for prerelease (#2484)John Geebefore adoption3f00f5b
line 1493why, one step back1493[#2405]: https://github.com/tj/commander.js/pull/2405Merge from develop (#2482)John Geebefore adoptionb51c0ea
lines 1494–1498why, one step back1494[#2409]: https://github.com/tj/commander.js/pull/24091495[#2410]: https://github.com/tj/commander.js/pull/24101496[#2427]: https://github.com/tj/commander.js/pull/24271497[#2428]: https://github.com/tj/commander.js/pull/24281498[#2462]: https://github.com/tj/commander.js/pull/2462Switching to esm-only (#2464)John Geebefore adoptionf4bd470
lines 1499–1500why, one step back1499[#2463]: https://github.com/tj/commander.js/pull/24631500[#2464]: https://github.com/tj/commander.js/pull/2464Merge from develop (#2482)John Geebefore adoptionb51c0ea
line 1501why, one step back1501[#2465]: https://github.com/tj/commander.js/pull/2465Update changelog and version and engine for prerelease (#2484)John Geebefore adoption3f00f5b
line 1502why, one step back1502[#2475]: https://github.com/tj/commander.js/pull/2475Add copyInheritedSettings to README (#1798)John Geebefore adoption471ec40
lines 1503–1542why, one step back15031504<!-- Referenced in 5.x -->1505[#1]: https://github.com/tj/commander.js/issues/11506[#432]: https://github.com/tj/commander.js/issues/4321507[#508]: https://github.com/tj/commander.js/issues/5081508[#512]: https://github.com/tj/commander.js/issues/5121509[#531]: https://github.com/tj/commander.js/issues/5311510[#645]: https://github.com/tj/commander.js/issues/6451511[#742]: https://github.com/tj/commander.js/issues/7421512[#764]: https://github.com/tj/commander.js/issues/7641513[#802]: https://github.com/tj/commander.js/issues/8021514[#809]: https://github.com/tj/commander.js/issues/8091515[#962]: https://github.com/tj/commander.js/issues/9621516[#995]: https://github.com/tj/commander.js/issues/9951517[#1062]: https://github.com/tj/commander.js/pull/10621518[#1088]: https://github.com/tj/commander.js/issues/10881519[#1119]: https://github.com/tj/commander.js/pull/11191520[#1133]: https://github.com/tj/commander.js/pull/11331521[#1138]: https://github.com/tj/commander.js/pull/11381522[#1145]: https://github.com/tj/commander.js/pull/11451523[#1146]: https://github.com/tj/commander.js/pull/11461524[#1149]: https://github.com/tj/commander.js/pull/11491525[#1153]: https://github.com/tj/commander.js/issues/11531526[#1159]: https://github.com/tj/commander.js/pull/11591527[#1165]: https://github.com/tj/commander.js/pull/11651528[#1169]: https://github.com/tj/commander.js/pull/11691529[#1172]: https://github.com/tj/commander.js/pull/11721530[#1179]: https://github.com/tj/commander.js/pull/11791531[#1180]: https://github.com/tj/commander.js/pull/11801532[#1184]: https://github.com/tj/commander.js/pull/11841533[#1191]: https://github.com/tj/commander.js/pull/11911534[#1195]: https://github.com/tj/commander.js/pull/11951535[#1208]: https://github.com/tj/commander.js/pull/12081536[#1232]: https://github.com/tj/commander.js/pull/12321537[#1235]: https://github.com/tj/commander.js/pull/12351538[#1236]: https://github.com/tj/commander.js/pull/12361539[#1247]: https://github.com/tj/commander.js/pull/12471540[#1248]: https://github.com/tj/commander.js/pull/124815411542<!-- Referenced in 4.x -->Merge branch 'master' into release/10.xJohn Geebefore adoption2bdd631
line 1543why, one step back1543[#933]: https://github.com/tj/commander.js/pull/933Add copyInheritedSettings to README (#1798)John Geebefore adoption471ec40
lines 1544–1581why, one step back1544[#1027]: https://github.com/tj/commander.js/pull/10271545[#1035]: https://github.com/tj/commander.js/pull/10351546[#1040]: https://github.com/tj/commander.js/pull/10401547[#1047]: https://github.com/tj/commander.js/pull/10471548[#1048]: https://github.com/tj/commander.js/pull/10481549[#1049]: https://github.com/tj/commander.js/pull/10491550[#1051]: https://github.com/tj/commander.js/pull/10511551[#1052]: https://github.com/tj/commander.js/pull/10521552[#1053]: https://github.com/tj/commander.js/pull/10531553[#1071]: https://github.com/tj/commander.js/pull/10711554[#1081]: https://github.com/tj/commander.js/pull/10811555[#1091]: https://github.com/tj/commander.js/pull/10911556[#1096]: https://github.com/tj/commander.js/pull/10961557[#1102]: https://github.com/tj/commander.js/pull/11021558[#1118]: https://github.com/tj/commander.js/pull/11181559[#1157]: https://github.com/tj/commander.js/pull/11571560[#806]: https://github.com/tj/commander.js/issues/80615611562<!-- Referenced in 3.x -->1563[#599]: https://github.com/tj/commander.js/issues/5991564[#611]: https://github.com/tj/commander.js/issues/6111565[#697]: https://github.com/tj/commander.js/issues/6971566[#795]: https://github.com/tj/commander.js/issues/7951567[#915]: https://github.com/tj/commander.js/issues/9151568[#938]: https://github.com/tj/commander.js/issues/9381569[#963]: https://github.com/tj/commander.js/issues/9631570[#974]: https://github.com/tj/commander.js/issues/9741571[#980]: https://github.com/tj/commander.js/issues/9801572[#987]: https://github.com/tj/commander.js/issues/9871573[#990]: https://github.com/tj/commander.js/issues/9901574[#991]: https://github.com/tj/commander.js/issues/9911575[#999]: https://github.com/tj/commander.js/issues/9991576[#1010]: https://github.com/tj/commander.js/pull/10101577[#1018]: https://github.com/tj/commander.js/pull/10181578[#1026]: https://github.com/tj/commander.js/pull/10261579[#1028]: https://github.com/tj/commander.js/pull/102815801581[Unreleased]: https://github.com/tj/commander.js/compare/master...developUpdate details for 15.0.0 release (#2519)John Geebefore adoption6df9b68
line 1582why, one step back1582[15.0.0]: https://github.com/tj/commander.js/compare/v15.0.0...v14.0.3Update changelog and version and engine for prerelease (#2484)John Geebefore adoption3f00f5b
line 1583why, one step back1583[15.0.0-0]: https://github.com/tj/commander.js/compare/v14.0.3...v15.0.0-0Merge from develop (#2482)John Geebefore adoptionb51c0ea
lines 1584–1586why, one step back1584[14.0.3]: https://github.com/tj/commander.js/compare/v14.0.2...v14.0.31585[14.0.2]: https://github.com/tj/commander.js/compare/v14.0.1...v14.0.21586[14.0.1]: https://github.com/tj/commander.js/compare/v14.0.0...v14.0.1Preparing for Commander v14.0.0 (#2366)John Geebefore adoption395cf71
line 1587why, one step back1587[14.0.0]: https://github.com/tj/commander.js/compare/v13.1.0...v14.0.0Add 13.1 to CHANGELOG (#2315)John Geebefore adoptionad3ecf0
line 1588why, one step back1588[13.1.0]: https://github.com/tj/commander.js/compare/v13.0.0...v13.1.0Update CHANGELOG for 13.0.0 (#2301)John Geebefore adoptionfb2c46a
line 1589why, one step back1589[13.0.0]: https://github.com/tj/commander.js/compare/v12.1.0...v13.0.0Add links to CHANGELOGJohn Geebefore adoption37e86af
lines 1590–1591why, one step back1590[13.0.0-0]: https://github.com/tj/commander.js/compare/v12.1.0...v13.0.0-01591[12.1.0]: https://github.com/tj/commander.js/compare/v12.0.0...v12.1.0Merge pull request #2140 from tj/release/12.xJohn Geebefore adoptione3192a1
lines 1592–1594why, one step back1592[12.0.0]: https://github.com/tj/commander.js/compare/v11.1.0...v12.0.01593[12.0.0-1]: https://github.com/tj/commander.js/compare/v12.0.0-0...v12.0.0-11594[12.0.0-0]: https://github.com/tj/commander.js/compare/v11.1.0...v12.0.0-0Update CHANGELOG for 11.1.0 (#2025)John Geebefore adoptionf1ae2db
line 1595why, one step back1595[11.1.0]: https://github.com/tj/commander.js/compare/v11.0.0...v11.1.0Update CHANGELOG for 11.0.0John Geebefore adoption1b8e82d
line 1596why, one step back1596[11.0.0]: https://github.com/tj/commander.js/compare/v10.0.1...v11.0.0Update CHANGELOG and version for 10.0.1John Geebefore adoption33195f1
line 1597why, one step back1597[10.0.1]: https://github.com/tj/commander.js/compare/v10.0.0...v10.0.1Update CHANGELOG (#1840)John Geebefore adoptiond0dac4c
line 1598why, one step back1598[10.0.0]: https://github.com/tj/commander.js/compare/v9.5.0...v10.0.0Merge branch 'master' into release/10.xJohn Geebefore adoption2bdd631
line 1599why, one step back1599[9.5.0]: https://github.com/tj/commander.js/compare/v9.4.1...v9.5.0Merge remote-tracking branch 'origin/develop' into release/10.xJohn Geebefore adoptione0f6173
line 1600why, one step back1600[9.4.1]: https://github.com/tj/commander.js/compare/v9.4.0...v9.4.1Add copyInheritedSettings to README (#1798)John Geebefore adoption471ec40
lines 1601–1642why, one step back1601[9.4.0]: https://github.com/tj/commander.js/compare/v9.3.0...v9.4.01602[9.3.0]: https://github.com/tj/commander.js/compare/v9.2.0...v9.3.01603[9.2.0]: https://github.com/tj/commander.js/compare/v9.1.0...v9.2.01604[9.1.0]: https://github.com/tj/commander.js/compare/v9.0.0...v9.1.01605[9.0.0]: https://github.com/tj/commander.js/compare/v8.3.0...v9.0.01606[9.0.0-1]: https://github.com/tj/commander.js/compare/v9.0.0-0...v9.0.0-11607[9.0.0-0]: https://github.com/tj/commander.js/compare/v8.3.0...v9.0.0-01608[8.3.0]: https://github.com/tj/commander.js/compare/v8.2.0...v8.3.01609[8.2.0]: https://github.com/tj/commander.js/compare/v8.1.0...v8.2.01610[8.1.0]: https://github.com/tj/commander.js/compare/v8.0.0...v8.1.01611[8.0.0]: https://github.com/tj/commander.js/compare/v7.2.0...v8.0.01612[8.0.0-2]: https://github.com/tj/commander.js/compare/v8.0.0-1...v8.0.0-21613[8.0.0-1]: https://github.com/tj/commander.js/compare/v8.0.0-0...v8.0.0-11614[8.0.0-0]: https://github.com/tj/commander.js/compare/v7.2.0...v8.0.0-01615[7.2.0]: https://github.com/tj/commander.js/compare/v7.1.0...v7.2.01616[7.1.0]: https://github.com/tj/commander.js/compare/v7.0.0...v7.1.01617[7.0.0]: https://github.com/tj/commander.js/compare/v6.2.1...v7.0.01618[7.0.0-2]: https://github.com/tj/commander.js/compare/v7.0.0-1...v7.0.0-21619[7.0.0-1]: https://github.com/tj/commander.js/compare/v7.0.0-0...v7.0.0-11620[7.0.0-0]: https://github.com/tj/commander.js/compare/v6.2.0...v7.0.0-01621[6.2.1]: https://github.com/tj/commander.js/compare/v6.2.0..v6.2.11622[6.2.0]: https://github.com/tj/commander.js/compare/v6.1.0..v6.2.01623[6.1.0]: https://github.com/tj/commander.js/compare/v6.0.0..v6.1.01624[6.0.0]: https://github.com/tj/commander.js/compare/v5.1.0..v6.0.01625[6.0.0-0]: https://github.com/tj/commander.js/compare/v5.1.0..v6.0.0-01626[5.1.0]: https://github.com/tj/commander.js/compare/v5.0.0..v5.1.01627[5.0.0]: https://github.com/tj/commander.js/compare/v4.1.1..v5.0.01628[5.0.0-4]: https://github.com/tj/commander.js/compare/v5.0.0-3..v5.0.0-41629[5.0.0-3]: https://github.com/tj/commander.js/compare/v5.0.0-2..v5.0.0-31630[5.0.0-2]: https://github.com/tj/commander.js/compare/v5.0.0-1..v5.0.0-21631[5.0.0-1]: https://github.com/tj/commander.js/compare/v5.0.0-0..v5.0.0-11632[5.0.0-0]: https://github.com/tj/commander.js/compare/v4.1.1..v5.0.0-01633[4.1.1]: https://github.com/tj/commander.js/compare/v4.1.0..v4.1.11634[4.1.0]: https://github.com/tj/commander.js/compare/v4.0.1..v4.1.01635[4.0.1]: https://github.com/tj/commander.js/compare/v4.0.0..v4.0.11636[4.0.0]: https://github.com/tj/commander.js/compare/v3.0.2..v4.0.01637[4.0.0-1]: https://github.com/tj/commander.js/compare/v4.0.0-0..v4.0.0-11638[4.0.0-0]: https://github.com/tj/commander.js/compare/v3.0.2...v4.0.0-01639[3.0.2]: https://github.com/tj/commander.js/compare/v3.0.1...v3.0.21640[3.0.1]: https://github.com/tj/commander.js/compare/v3.0.0...v3.0.11641[3.0.0]: https://github.com/tj/commander.js/compare/v2.20.1...v3.0.01642[2.20.1]: https://github.com/tj/commander.js/compare/v2.20.0...v2.20.1