Commander.js

Screenshot Software:
Commander.js
Detalii soft:
Versiune: 2.9.0 Actualizat
Incarca data: 10 Dec 15
Producător: TJ Holowaychuk
Licenţă: Gratuit
Popularitate: 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

Software similare

jsmin-php
jsmin-php

5 Jun 15

USTORE.js
USTORE.js

5 Jun 15

useful.cookies.js
useful.cookies.js

12 May 15

webpack
webpack

19 Jul 15

Alte software-uri de dezvoltator TJ Holowaychuk

PHP Selector
PHP Selector

13 Apr 15

Super Agent
Super Agent

6 Mar 16

Move.js
Move.js

10 Dec 15

Koa
Koa

10 Dec 15

Comentarii la Commander.js

Comentariile nu a fost găsit
Adauga comentarii
Porniţi pe imagini!