|
1 |
| -3.0.0 |
| 1 | +3.0.0-0 Prerelease |
2 | 2 | =====
|
3 | 3 |
|
4 | 4 | * Add option to specify executable file name (#999)
|
5 |
| - * Rework docs to clarify action vs executable commands (#990) |
| 5 | + * e.g. `.command('clone', 'clone description', { executableFile: 'myClone' })` |
| 6 | + * Change docs for `.command` to contrast action handler vs git-style executable. TypeScript now uses overloaded function. (#938 #990) |
6 | 7 | * Change to use straight quotes around strings in error messages (like 'this' instead of `this') (#915)
|
7 | 8 | * Add TypeScript "reference types" for node (#974)
|
8 | 9 | * Add support for hyphen as an option argument in subcommands (#697)
|
9 |
| - * Add support for a short option flag and its value to be concatenated (#599) |
| 10 | + * Add support for a short option flag and its value to be concatenated for action handler subcommands (#599) |
10 | 11 | * e.g. `-p 80` can also be supplied as `-p80`
|
11 | 12 | * Add executable arguments to spawn in win32, for git-style executables (#611)
|
12 |
| - * e.g. `--harmony` |
| 13 | + * e.g. `node --harmony myCommand.js clone` |
13 | 14 | * Add parent command as prefix of subcommand in help (#980)
|
14 | 15 | * Add optional custom description to `.version` (#963)
|
| 16 | + * e.g. `program.version('0.0.1', '-v, --vers', 'output the current version')` |
15 | 17 | * Add `.helpOption(flags, description)` routine to customise help flags and description (#963)
|
| 18 | + * e.g. `.helpOption('-e, --HELP', 'read more information')` |
16 | 19 | * Fix behavior of --no-* options (#795)
|
17 | 20 | * can now define both `--foo` and `--no-foo`
|
18 | 21 | * custom event listeners: `--no-foo` on cli now emits `option:no-foo` (previously `option:foo`)
|
19 | 22 | * default value: defining `--no-foo` after defining `--foo` leaves the default value unchanged (previously set it to false)
|
20 | 23 | * allow boolean default value, such as from environment (#987)
|
21 | 24 | * Increment inspector port for spawned subcommands (#991)
|
22 |
| - * Change docs for `.command` to contrast action handler vs git-style executable. TypeScript now uses overloaded function. (#938) |
| 25 | + * e.g. `node --inspect myCommand.js clone` |
| 26 | + |
23 | 27 |
|
24 | 28 | 2.20.0 / 2019-04-02
|
25 | 29 | ==================
|
|
0 commit comments