argollector
v1.0.0
Published
collect CLI arguments as an object
Downloads
10
Readme
Argollector
Arguments Collector in CLI
Usage
// example.js
console.log(JSON.stringify(require('argollector')));
node example.js 1 2 3 --list 4 5 6 --name hehe -d hello
{
"0": "1",
"1": "2",
"2": "3",
"--list": [
"4",
"5",
"6"
],
"--name": [
"hehe"
],
"-d": [
"hello"
]
}