Commander.js

軟件截圖:
Commander.js
軟件詳細信息:
版本: 2.9.0 更新
上傳日期: 10 Dec 15
許可: 免費
人氣: 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

類似的軟件

jQuip
jQuip

12 May 15

Mediatizr
Mediatizr

12 Apr 15

soaplib
soaplib

5 Jun 15

Bean
Bean

12 May 15

顯影劑的其他軟件 TJ Holowaychuk

Dox
Dox

20 Jul 15

Mocha
Mocha

10 Feb 16

Reds
Reds

1 Mar 15

Express
Express

26 Jul 16

意見 Commander.js

評論沒有發現
添加評論
打開圖片!