Skip to content

adaltas/node-shell

Repository files navigation

Build Status

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