node-shell
所属分类:其他
开发工具:CoffeeScript
文件大小:0KB
下载次数:0
上传日期:2023-12-29 00:51:42
上 传 者:
sh-1993
说明: 命令行参数解析器和字符串编辑器
(Command line arguments parser and stringifier)
文件列表:
.husky/
docs/
packages/
samples/
.eslintrc
.eslintrc.json
CHANGELOG.md
LICENSE
commitlint.config.js
lerna.json
package.json
[![Build Status](https://secure.travis-ci.org/adaltas/node-shell.png)](http://travis-ci.org/adaltas/node-shell)
# `npm install shell`
Shell.js is sugar for parsing typical unix command line options.
* Standard and commands-based command lines (eg `git-pull ...` or `git pull ...`)
* Reversibility: read and write arguments is bi-directional
* Auto-discovery: extract unregistered options
* Unlimited/multi level commands (eg `myapp server start ...`)
* Type conversion ('string', 'boolean', 'integer', 'array')
* Object literals: config and parsed results are serializable and human readable
* Routing: run dedicated functions or modules based on user commands
* Auto generated help
* Complete tests coverages plus samples
## Documentation
* [API](https://github.com/adaltas/node-shell/blob/master/doc/api/index.md)
* [Method `help`](https://github.com/adaltas/node-shell/blob/master/doc/api/help.md)
* [Method `helping`](https://github.com/adaltas/node-shell/blob/master/doc/api/helping.md)
* [Method `parse`](https://github.com/adaltas/node-shell/blob/master/doc/api/parse.md)
* [Method `compile`](https://github.com/adaltas/node-shell/blob/master/doc/api/compile.md)
* [Method `route`](https://github.com/adaltas/node-shell/blob/master/doc/api/route.md)
* Usage and configuration
* [Config](https://github.com/adaltas/node-shell/blob/master/doc/config)
* [Extended](https://github.com/adaltas/node-shell/blob/master/doc/usage/extended.md)
* [Options](https://github.com/adaltas/node-shell/blob/master/doc/config/options.md)
* [Commands](https://github.com/adaltas/node-shell/blob/master/doc/config/commands.md)
* [Load](https://github.com/adaltas/node-shell/blob/master/doc/config/load.md)
* [Help](https://github.com/adaltas/node-shell/blob/master/doc/usage/help.md)
* Project
* [License](https://github.com/adaltas/node-shell/blob/master/LICENSE)
* [Changelog](https://github.com/adaltas/node-shell/blob/master/CHANGELOG.md)
* [Contribute](https://github.com/adaltas/node-shell/blob/master/doc/project/contribute.md)
近期下载者:
相关文件:
收藏者: