ps-grab
Version:
Retrieve arguments of Node command line argument , smoothly.
18 lines (12 loc) • 355 B
Markdown
# Grab Feature :
if you want to run this kind of command line :
```bash
node myScript.js --name Ahmed --action greeting
```
Then , reading values of arguments(i.e : `--name`, `--action` ) is wanted .
If so ,this package is useful :
```js
var grab=require('ps-grab');
grab('--name') // return 'Ahmed'
grab('--action') // return 'greeting'
```