5 * Update downloads badge to point to graph of downloads over time instead of duplicating link to npm
6 * Arguments description
11 * Fix typing of help function
16 * only register the option:version event once
17 * Fixes issue #727: Passing empty string for option on command is set to undefined
19 * resolves #754 add linter configuration to project
20 * resolves #560 respect custom name for version option
21 * document how to override the version flag
22 * document using options per command
27 * Do not print default for --no-
28 * remove trailing spaces in command help
29 * Update CI's Node.js to LTS and latest version
30 * typedefs: Command and Option types added to commander namespace
35 * fix: typings are not shipped
40 * Move @types/node to dev dependency
45 * add attributeName() method to Option objects
46 * Documentation updated for options with --no prefix
47 * typings: `outputHelp` takes a string as the first parameter
48 * typings: use overloads
49 * feat(typings): update to match js api
50 * Print default value in option help
51 * Fix translation error
52 * Fail when using same command and alias (#491)
53 * feat(typings): add help callback
54 * fix bug when description is add after command with options (#662)
56 * Rename History.md to CHANGELOG.md (#668)
57 * feat(typings): add typings to support TypeScript (#646)
63 * Fix help section order and padding (#652)
64 * feature: support for signals to subcommands (#632)
65 * Fixed #37, --help should not display first (#447)
66 * Fix translation errors. (#570)
67 * Add package-lock.json
69 * Upgrade package version
70 * Prefix events to prevent conflicts between commands and options (#494)
71 * Removing dependency on graceful-readlink
72 * Support setting name in #name function and make it chainable
73 * Add .vscode directory to .gitignore (Visual Studio Code metadata)
74 * Updated link to ruby commander in readme files
79 * Update .travis.yml. drop support for older node.js versions.
80 * Fix require arguments in README.md
81 * On SemVer you do not start from 0.0.1
82 * Add missing semi colon in readme
83 * Add save param to npm install
85 * Update Readme_zh-CN.md
86 * Allow literal '--' to be passed-through as an argument
87 * Test subcommand alias help
88 * link build badge to master branch
89 * Support the alias of Git style sub-command
90 * added keyword commander for better search result on npm
93 * Fixes TypeError when a command has an option called `--description`
94 * Update README.md to make it beginner friendly and elaborate on the difference between angled and square brackets.
95 * Add chinese Readme file
100 * Add option `isDefault` to set default subcommand #415 @Qix-
101 * Add callback to allow filtering or post-processing of help text #434 @djulien
102 * Fix `undefined` text in help information close #414 #416 @zhiyelee
107 * Back out `support multiline description` Close #396 #397
112 * Add `process.execArg` support, execution args like `--harmony` will be passed to sub-commands #387 @DigitalIO @zhiyelee
113 * Fix bug in Git-style sub-commands #372 @zhiyelee
114 * Allow commands to be hidden from help #383 @tonylukasavage
115 * When git-style sub-commands are in use, yet none are called, display help #382 @claylo
116 * Add ability to specify arguments syntax for top-level command #258 @rrthomas
117 * Support multiline descriptions #208 @zxqfox
122 * Revert #347 (fix collisions when option and first arg have same name) which causes a bug in #367.
127 * Fix git-style bug when installed globally. Close #335 #349 @zhiyelee
128 * Fix collisions when option and first arg have same name. Close #346 #347 @tonylukasavage
129 * Add support for camelCase on `opts()`. Close #353 @nkzawa
130 * Add node.js 0.12 and io.js to travis.yml
131 * Allow RegEx options. #337 @palanik
132 * Fixes exit code when sub-command failing. Close #260 #332 @pirelenito
133 * git-style `bin` files in $PATH make sense. Close #196 #327 @zhiyelee
138 * added `Command#allowUnknownOption` method. Close #138 #318 @doozr @zhiyelee
139 * Add application description to the help msg. Close #112 @dalssoft
144 * fixed two bugs incurred by variadic arguments. Close #291 @Quentin01 #302 @zhiyelee
149 * add support for variadic arguments. Closes #277 @whitlockjc
154 * fixed a bug on executing the coercion function of subcommands option. Closes #270
155 * added `Command.prototype.name` to retrieve command name. Closes #264 #266 @tonylukasavage
156 * added `Command.prototype.opts` to retrieve all the options as a simple object of key-value pairs. Closes #262 @tonylukasavage
157 * fixed a bug on subcommand name. Closes #248 @jonathandelgado
158 * fixed function normalize doesn’t honor option terminator. Closes #216 @abbr
163 * add command alias'. Closes PR #210
164 * fix: Typos. Closes #99
165 * fix: Unused fs module. Closes #217
170 * add passing of previous option value
171 * fix: support subcommands on windows. Closes #142
172 * Now the defaultValue passed as the second argument of the coercion function.
177 * add: allow cflag style option params, unit test, fixes #174
182 * remove input methods (.prompt, .confirm, etc)
187 * add support for sub-commands to co-exist with the original command
192 * add quick .runningCommand hack so you can opt-out of other logic when running a sub command
197 * add EACCES error handling
198 * fix sub-command --help
203 * allow "-" hyphen as an option argument
204 * support for RegExp coercion
209 * add more sub-command padding
210 * fix .usage() when args are present. Closes #106
215 * add git-style executable subcommand support. Closes #94
220 * fix `--name` clobbering. Closes #92
221 * fix examples/help. Closes #89
226 * add `outputHelp()` method.
231 * remove invalid .version() defaulting
236 * add `--foo=bar` support [arv]
237 * fix password on node 0.8.8. Make backward compatible with 0.6 [focusaurus]
243 * fix tty.setRawMode(mode) was moved to tty.ReadStream#setRawMode() (i.e. process.stdin.setRawMode())
248 * add support for optional option descriptions
249 * add defaulting of `.version()` to package.json's version
254 * Added: append (yes or no) on confirmation
255 * Added: allow node.js v0.7.x
260 * Added `.prompt(obj, callback)` support. Closes #49
261 * Added default support to .choose(). Closes #41
262 * Fixed the choice example
267 * Fixed `password()` for recent nodes. Closes #36
272 * Added sub-command option support [itay]
277 * Fixed custom help ordering. Closes #32
282 * Added travis support
283 * Fixed: line-buffered input automatically trimmed. Closes #31
288 * Removed listening for "close" on --help
293 * Added support for `--`. Closes #24
298 * Fixed: wait for close event when writing help info [Jerry Hamlet]
303 * Fixed long flag definitions with values [felixge]
308 * Changed `--version` short flag to `-V` from `-v`
309 * Changed `.version()` so it's configurable [felixge]
314 * Added support for long flags only. Closes #18
319 * "node": ">= 0.4.x < 0.7.0". Closes #20
324 * Allow for defaults that are not just boolean. Default peassignment only occurs for --no-*, optional, and required arguments. [Jim Isaacs]
329 * Added support for custom `--help` output
334 * Changed: when the user enters nothing prompt for password again
335 * Fixed issue with passwords beginning with numbers [NuckChorris]
340 * Fixed `Commander#args`
345 * Added default option value support
350 * Added mask support to `Command#password(str[, mask], fn)`
351 * Added `Command#password(str, fn)`