Skip to content

Releases: tj/commander.js

v2.15.0

08 Mar 01:12
d8404f8
Compare
Choose a tag to compare
  • Update downloads badge to point to graph of downloads over time instead of duplicating link to npm
  • Arguments description

v2.14.1

07 Feb 07:43
Compare
Choose a tag to compare
  • Fix typing of help function

v2.14.0

06 Feb 01:24
Compare
Choose a tag to compare
  • only register the option:version event once
  • Fixes issue #727: Passing empty string for option on command is set to undefined
  • enable eqeqeq rule
  • resolves #754 add linter configuration to project
  • resolves #560 respect custom name for version option
  • document how to override the version flag
  • document using options per command

v2.13.0

11 Jan 07:10
291fbaa
Compare
Choose a tag to compare
  • Do not print default for --no-
  • remove trailing spaces in command help
  • Update CI's Node.js to LTS and latest version
  • typedefs: Command and Option types added to commander namespace

v2.12.2

28 Nov 07:08
6864c95
Compare
Choose a tag to compare
  • fix: typings are not shipped

v2.12.1

23 Nov 10:20
91c2514
Compare
Choose a tag to compare
  • Move @types/node to dev dependency

v2.12.0

22 Nov 23:06
Compare
Choose a tag to compare
  • add attributeName() method to Option objects
  • Documentation updated for options with --no prefix
  • typings: outputHelp takes a string as the first parameter
  • typings: use overloads
  • feat(typings): update to match js api
  • Print default value in option help
  • Fix translation error
  • Fail when using same command and alias (#491)
  • feat(typings): add help callback
  • fix bug when description is add after command with options (#662)
  • Format js code
  • Rename History.md to CHANGELOG.md (#668)
  • feat(typings): add typings to support TypeScript (#646)
  • use current node

Release V2.11.0

03 Jul 10:08
Compare
Choose a tag to compare
  • Fix help section order and padding (#652)
  • feature: support for signals to subcommands (#632)
  • Fixed #37, --help should not display first (#447)
  • Fix translation errors. (#570)
  • Add package-lock.json
  • Remove engines
  • Upgrade package version
  • Prefix events to prevent conflicts between commands and options (#494)
  • Removing dependency on graceful-readlink
  • Support setting name in #name function and make it chainable
  • Add .vscode directory to .gitignore (Visual Studio Code metadata)
  • Updated link to ruby commander in readme files

Release V2.10.0

23 Jun 09:34
Compare
Choose a tag to compare
  • Update .travis.yml. drop support for older node.js versions.
  • Fix require arguments in README.md
  • On SemVer you do not start from 0.0.1
  • Add missing semi colon in readme
  • Add save param to npm install
  • node v6 travis test
  • Update Readme_zh-CN.md
  • Allow literal '--' to be passed-through as an argument
  • Test subcommand alias help
  • link build badge to master branch
  • Support the alias of Git style sub-command
  • added keyword commander for better search result on npm
  • Fix Sub-Subcommands
  • test node.js stable
  • Fixes TypeError when a command has an option called --description
  • Update README.md to make it beginner friendly and elaborate on the difference between angled and square brackets.
  • Add chinese Readme file

Release V2.9.0

13 Oct 15:21
Compare
Choose a tag to compare
  • Add option isDefault to set default subcommand #415 @Qix-
  • Add callback to allow filtering or post-processing of help text #434 @djulien
  • Fix undefined text in help information close #414 #416 @zhiyelee