1.0.2 • Published 7 years ago

easy-argument-parser v1.0.2

Weekly downloads
5
License
GPL-2.0
Repository
github
Last release
7 years ago

easy-argument-parser

Simple way read command-line arguments in your project.

##installation

npm install easy-argument-parser --save

Usage

In your app:

//my-app.js
var args = require('easy-argument-parser');

console.log(args);

Then you can run your file like this:

node my-app.js --option1 --option2=10
> $ {option1: true, option2: 10}
1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago