Commander.js

Software screenshot:
Commander.js
Software informatie:
Versie: 2.9.0 Bijgewerkt
Upload datum: 10 Dec 15
Ontwikkelaar: TJ Holowaychuk
Licentie: Gratis
Populariteit: 70

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

Vergelijkbare software

Stately.js
Stately.js

10 Feb 16

nap
nap

12 Apr 15

Cortado.js
Cortado.js

13 May 15

jspacker
jspacker

5 Jun 15

Andere software van ontwikkelaar TJ Holowaychuk

Reds
Reds

1 Mar 15

Dox
Dox

20 Jul 15

Commander
Commander

12 Apr 15

Reacties op Commander.js

Reacties niet gevonden
Commentaar toe te voegen
Zet op de beelden!