0.1.0 • Published 10 years ago

terminal-parser v0.1.0

Weekly downloads
9
License
-
Repository
github
Last release
10 years ago

Terminal Parser

Build Status

A terminal utility that its sole objective is to parse terminal-like arguments.

Its functionality is super simple to describe.

It turns this ['--environment=development', '--mode=2'] to {environment: 'development', 'mode': '2'}

How to use

Install from npm

npm install terminal-parser --save

Include it in your project

var Terminal = require('terminal-parser');

Start parsing arguments

var args = Terminal.parseArgs(['--environment=development', '--mode=2']);