Commander.js

Software captura de pantalla:
Commander.js
Detalles de software:
Versión: 2.9.0 Actualizado
Fecha de carga: 10 Dec 15
Promotor: TJ Holowaychuk
Licencia: Libre
Popularidad: 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

Programas parecidos

Eco
Eco

5 Jun 15

Geotools
Geotools

6 Mar 16

Esprima
Esprima

11 Mar 16

Viewport Component
Viewport Component

12 May 15

Otro software de desarrollador TJ Holowaychuk

Dox
Dox

20 Jul 15

knox
knox

1 Mar 15

Koa
Koa

10 Dec 15

Mocha
Mocha

10 Feb 16

Comentarios a la Commander.js

Comentarios que no se encuentran
Añadir comentario
A su vez en las imágenes!