Commander.js

Software Screenshot:
Commander.js
Software Details:
Version: 2.9.0 updated
Upload Date: 10 Dec 15
Developer: TJ Holowaychuk
Distribution Type: Freeware
Downloads: 12

Rating: nan/5 (Total Votes: 0)

Commander.js is inspired by Ruby's Commander tool.

Commander.js works basically the same way, allowing developers working on a Node.js product to add an interactive console interface for their app, whilst staying in control the whole time to what and how the app responds for any given command, argument or combination of parameters.

Usage examples are included with the download package.

What is new in this release:

  • Add option isDefault to set default subcommand
  • Add callback to allow filtering or post-processing of help text
  • Fix undefined text in help information close

What is new in version 2.8.1:

  • Add process.execArg support, execution args like --harmony will be passed to sub-commands.
  • Fixed bug in Git-style sub-commands.
  • Allow commands to be hidden from help.
  • When git-style sub-commands are in use, yet none are called, display help.
  • Added ability to specify arguments syntax for top-level command.
  • Support multiline descriptions.

What is new in version 2.8.0:

  • Add process.execArg support, execution args like --harmony will be passed to sub-commands.
  • Fixed bug in Git-style sub-commands.
  • Allow commands to be hidden from help.
  • When git-style sub-commands are in use, yet none are called, display help.
  • Added ability to specify arguments syntax for top-level command.
  • Support multiline descriptions.

What is new in version 2.6.0:

  • Added Command#allowUnknownOption method.
  • Added application description to the help msg.

What is new in version 2.5.0:

  • Added support for variadic arguments.

What is new in version 2.4.0:

  • Added Command.prototype.name to retrieve command name.
  • Added Command.prototype.opts to retrieve all the options as a simple object of key-value pairs.
  • Fixed a bug on subcommand name.
  • Fixed a bug on executing the coercion function of subcommands option.

What is new in version 2.0.0:

  • Removed input methods (.prompt, .confirm, etc).

What is new in version 1.2.0:

  • Allow "-" hyphen as an option argument.
  • Support for RegExp coercion.

What is new in version 1.1.0:

  • Added git-style executable subcommand support.

What is new in version 1.0.5:

  • Fixed examples/help.

What is new in version 1.0.4:

  • Added outputHelp() method.

What is new in version 1.0.2:

  • Added --foo=bar support.
  • Fixed password on node 0.8.8. Make backward compatible with 0.6.

Requirements:

  • Node.js 0.6 or higher

Similar Software

FT columnflow
FT columnflow

13 Apr 15

Watch.JS
Watch.JS

5 Jun 15

LeapJS
LeapJS

1 Mar 15

Apache BookKeeper
Apache BookKeeper

13 Apr 15

Other Software of Developer TJ Holowaychuk

Reds
Reds

1 Mar 15

PHP Selector
PHP Selector

13 Apr 15

Express
Express

26 Jul 16

Commander
Commander

12 Apr 15

Comments to Commander.js

Comments not found
Add Comment
Turn on images!