{"_id":"command-line-commands","_rev":"22-532d8a36fe262cc54cee4635d738bb62","name":"command-line-commands","dist-tags":{"latest":"4.0.1"},"versions":{"0.0.0":{"name":"command-line-commands","version":"0.0.0","keywords":[],"author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"license":"MIT","_id":"command-line-commands@0.0.0","maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"homepage":"https://github.com/75lb/command-line-commands#readme","bugs":{"url":"https://github.com/75lb/command-line-commands/issues"},"bin":{"command-line-commands":"bin/cli.js"},"dist":{"shasum":"2eb4092f4e3f6d2d69b743c8de90a0dadec8fe3c","tarball":"https://registry.npmjs.org/command-line-commands/-/command-line-commands-0.0.0.tgz","integrity":"sha512-YPn1su0xlGXAzRDECCqfTs3TjS3hcLKx6ff9E0Xyg/4S2IwuxlysB58VZrKpTM3lPLcNacpUUJ6OJ1IcwmA/Og==","signatures":[{"sig":"MEUCIAtYuLqZupUZbdTlVSF0vo9kKgxPN29J1C4pNNN8NoZnAiEA2xCBXrfl01vuaKfLJGhD9cnoocK3bmvFCzvC1FG5gew=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib/command-line-commands.js","_from":".","_shasum":"2eb4092f4e3f6d2d69b743c8de90a0dadec8fe3c","engines":{"node":">=0.10.0"},"gitHead":"de83eaddcd9eaf8b5e83811854f28d51e3956423","scripts":{"docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js > README.md; echo","test":"tape test/*.js"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"repository":{"url":"git+https://github.com/75lb/command-line-commands.git","type":"git"},"_npmVersion":"3.5.0","description":"command-line-commands","directories":{},"_nodeVersion":"5.1.0","dependencies":{"command-line-args":"^2.1.1"}},"0.1.0":{"name":"command-line-commands","version":"0.1.0","keywords":["argv","parse","argument","args","option","parser","parsing","cli","command","commands","line"],"author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"license":"MIT","_id":"command-line-commands@0.1.0","maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"homepage":"https://github.com/75lb/command-line-commands#readme","bugs":{"url":"https://github.com/75lb/command-line-commands/issues"},"bin":{"command-line-commands":"bin/cli.js"},"dist":{"shasum":"726911f56932ffc8a660dfee00738b404ba039be","tarball":"https://registry.npmjs.org/command-line-commands/-/command-line-commands-0.1.0.tgz","integrity":"sha512-/CjTuapU0pT8sf1St68uqU6Gt47AfN6DOR5gZ1oRfrsoQOGjfR0D3k/DiDo/+EBU6BaR0nLUqHsCfUHx2Bnr9Q==","signatures":[{"sig":"MEUCIQDf6RG1gULnRvBvFdS82vVfrFycT/QPNJTq1hNn8KpqHwIgJb5J8dTT85S1sj101P6sYeZXtvQOiBw8PsCL2Dee710=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index","_from":".","_shasum":"726911f56932ffc8a660dfee00738b404ba039be","engines":{"node":">=0.10.0"},"gitHead":"32c2a967a83b3b2b14aef5c11566a8425555b323","scripts":{"es5":"babel --no-comments lib --out-dir es5","docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js > README.md; echo","test":"tape test/*.js"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"standard":{"ignore":["es5"]},"repository":{"url":"git+https://github.com/75lb/command-line-commands.git","type":"git"},"_npmVersion":"3.5.1","description":"command-line-commands","directories":{},"_nodeVersion":"5.1.0","dependencies":{"core-js":"^1.2.6","array-back":"^1.0.2","command-line-args":"^2.1.1","feature-detect-es6":"^1.1.0"},"devDependencies":{"tape":"^4.2.2","babel":"^5.8.34","jsdoc-to-markdown":"^1.2.1"}},"0.1.1":{"name":"command-line-commands","version":"0.1.1","keywords":["argv","parse","argument","args","option","parser","parsing","cli","command","commands","line"],"author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"license":"MIT","_id":"command-line-commands@0.1.1","maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"homepage":"https://github.com/75lb/command-line-commands#readme","bugs":{"url":"https://github.com/75lb/command-line-commands/issues"},"bin":{"command-line-commands":"bin/cli.js"},"dist":{"shasum":"02c7a44c3e37a4853e303ef4cb39fdbe7b037f32","tarball":"https://registry.npmjs.org/command-line-commands/-/command-line-commands-0.1.1.tgz","integrity":"sha512-w2hRAPQSYfBYI+fl4KDzq7Tw0ply2n7MQGWfPFfUAAAUSM4wlQyMFDbELFiJyeFSGUeigTJjNVxnQ2s4Ds3lTQ==","signatures":[{"sig":"MEYCIQCl/kFmZUjuTfzeCQSI3TlO27uotZoyWEvt3fcYNCMs8gIhAMwt3+7o1S1JqAHK4wJ8yXMwVdQ9rsalD7nMcajEtiqX","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index","_from":".","_shasum":"02c7a44c3e37a4853e303ef4cb39fdbe7b037f32","engines":{"node":">=0.10.0"},"gitHead":"822944e7b00e40f1631977a9d48fded2bb091699","scripts":{"es5":"babel --no-comments lib --out-dir es5","docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js > README.md; echo","test":"tape test/*.js"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"standard":{"ignore":["es5"]},"repository":{"url":"git+https://github.com/75lb/command-line-commands.git","type":"git"},"_npmVersion":"3.5.1","description":"command-line-commands","directories":{},"_nodeVersion":"5.1.0","dependencies":{"core-js":"^1.2.6","array-back":"^1.0.2","command-line-args":"^2.1.1","feature-detect-es6":"^1.1.0"},"devDependencies":{"tape":"^4.2.2","babel":"^5.8.34","jsdoc-to-markdown":"^1.2.1"}},"0.1.2":{"name":"command-line-commands","version":"0.1.2","keywords":["argv","parse","argument","args","option","parser","parsing","cli","command","commands","line"],"author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"license":"MIT","_id":"command-line-commands@0.1.2","maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"homepage":"https://github.com/75lb/command-line-commands#readme","bugs":{"url":"https://github.com/75lb/command-line-commands/issues"},"bin":{"command-line-commands":"bin/cli.js"},"dist":{"shasum":"3fd1ac8db5cebfdc6c0910993673b55876b000bc","tarball":"https://registry.npmjs.org/command-line-commands/-/command-line-commands-0.1.2.tgz","integrity":"sha512-d4Ff6TJFfZntEVTe/wDUPBIOlYAuoMMZ9zwZRHUzkltp6xR1bTt88UUtXsyRe3kNG6/JfGADdSrIjNRQn988fw==","signatures":[{"sig":"MEQCICo6BZlN+7jQsGNCHVVaEdpCJBA1fcvMWgTnEzwI1A/QAiBhV3jAoElzEArVo5rLQGjsLiUvDhjrodoHavJcczUVRA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index","_from":".","_shasum":"3fd1ac8db5cebfdc6c0910993673b55876b000bc","engines":{"node":">=0.10.0"},"gitHead":"9053f5dc7995fd17ee5f2a029da1f4cbedbdd2a4","scripts":{"es5":"babel --presets babel-preset-es2015 --no-comments lib --out-dir es5","docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js > README.md; echo","test":"tape test/*.js"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"standard":{"ignore":["es5"]},"repository":{"url":"git+https://github.com/75lb/command-line-commands.git","type":"git"},"_npmVersion":"3.3.12","description":"Add a git-like command interface to your app","directories":{},"_nodeVersion":"5.4.0","dependencies":{"core-js":"^2.0.2","array-back":"^1.0.2","command-line-args":"^2.1.4","feature-detect-es6":"^1.2.0"},"devDependencies":{"tape":"^4.4.0","jsdoc-to-markdown":"^1.3.3","babel-preset-es2015":"^6.3.13"}},"1.0.0":{"name":"command-line-commands","version":"1.0.0","keywords":["argv","parse","argument","args","option","parser","parsing","cli","command","commands","line"],"author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"license":"MIT","_id":"command-line-commands@1.0.0","maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"homepage":"https://github.com/75lb/command-line-commands#readme","bugs":{"url":"https://github.com/75lb/command-line-commands/issues"},"dist":{"shasum":"25fc4fd5df200a9c82f89a28f7915b0022a24cfe","tarball":"https://registry.npmjs.org/command-line-commands/-/command-line-commands-1.0.0.tgz","integrity":"sha512-0Md7K14HDIYy3eP/h++u34/xNbgS8TQZqkv4PvQe7EIPxwIVw9Cwj59BStUHjxjiujafuCEgHm7RwamXVQpaYg==","signatures":[{"sig":"MEUCIQDjUhRLHhfvq93r+YNmoHtBF0CvLbNgL2M0faGLJ6QqlAIgeIFYgd25zvLBO8ELC0wu4msdslM4MBrLrrugvANalE8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index","_from":".","_shasum":"25fc4fd5df200a9c82f89a28f7915b0022a24cfe","engines":{"node":">=0.10.0"},"gitHead":"45adf98cfa7022ac109c5c0ebf822938def50ad4","scripts":{"es5":"babel --presets babel-preset-es2015 --no-comments lib --out-dir es5","docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js > README.md; echo","test":"tape test/*.js"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"standard":{"ignore":["es5"]},"repository":{"url":"git+https://github.com/75lb/command-line-commands.git","type":"git"},"_npmVersion":"3.9.1","description":"A lightweight module to help build a git-like command interface for your app.","directories":{},"_nodeVersion":"6.1.0","dependencies":{"array-back":"^1.0.3","command-line-args":"^2.1.6","feature-detect-es6":"^1.2.0"},"devDependencies":{"tape":"^4.5.1","jsdoc-to-markdown":"^1.3.6","command-line-usage":"^3.0.0","babel-preset-es2015":"^6.6.0"},"_npmOperationalInternal":{"tmp":"tmp/command-line-commands-1.0.0.tgz_1463438247670_0.6278405268676579","host":"packages-16-east.internal.npmjs.com"}},"1.0.1":{"name":"command-line-commands","version":"1.0.1","keywords":["argv","parse","argument","args","option","parser","parsing","cli","command","commands","line"],"author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"license":"MIT","_id":"command-line-commands@1.0.1","maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"homepage":"https://github.com/75lb/command-line-commands#readme","bugs":{"url":"https://github.com/75lb/command-line-commands/issues"},"dist":{"shasum":"4909c522837fb86f8581a1586b545fb5d6bf6a6f","tarball":"https://registry.npmjs.org/command-line-commands/-/command-line-commands-1.0.1.tgz","integrity":"sha512-UsofnUoYTh9uvYruxLOo9yNXrxboo8r8y/DdHjkBsh1mINyjt+IdGAy7J6a6M1ExF771gKanPnx3+Rhrj8vZQw==","signatures":[{"sig":"MEYCIQCv/yluKRdtwCMQvPHtPbnvxH6LwXPcSRd0zoqCxKEmewIhAKzmQRzUBaL+YhnXu0ok0mZGmypg8Rv78OfwYcRh2WK0","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index","_from":".","_shasum":"4909c522837fb86f8581a1586b545fb5d6bf6a6f","engines":{"node":">=0.10.0"},"gitHead":"9d57f86280407bef402811f0f8e3cd3c1b85a8c8","scripts":{"es5":"babel --presets babel-preset-es2015 --no-comments lib --out-dir es5","docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js > README.md; echo","test":"tape test/*.js"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"standard":{"ignore":["es5"]},"repository":{"url":"git+https://github.com/75lb/command-line-commands.git","type":"git"},"_npmVersion":"3.9.1","description":"Add a git-like command interface to your app.","directories":{},"_nodeVersion":"6.1.0","dependencies":{"array-back":"^1.0.3","command-line-args":"^2.1.6","feature-detect-es6":"^1.2.0"},"devDependencies":{"tape":"^4.5.1","jsdoc-to-markdown":"^1.3.6","command-line-usage":"^3.0.0","babel-preset-es2015":"^6.6.0"},"_npmOperationalInternal":{"tmp":"tmp/command-line-commands-1.0.1.tgz_1463439577242_0.02454022318124771","host":"packages-16-east.internal.npmjs.com"}},"1.0.2":{"name":"command-line-commands","version":"1.0.2","keywords":["argv","parse","argument","args","option","parser","parsing","cli","command","commands","line"],"author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"license":"MIT","_id":"command-line-commands@1.0.2","maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"homepage":"https://github.com/75lb/command-line-commands#readme","bugs":{"url":"https://github.com/75lb/command-line-commands/issues"},"dist":{"shasum":"704fe07db402f57530b2fbf403dc4a17613d21f6","tarball":"https://registry.npmjs.org/command-line-commands/-/command-line-commands-1.0.2.tgz","integrity":"sha512-JPD8KlafZRfCrQ/lRddAAlPFM/ciWL4Ea4+LmjHqzVInM8wgIj4aH6e0bV+KhDkvYNAVjLh2tbAXVn5NNFjT4A==","signatures":[{"sig":"MEYCIQCoEZx9PnO9VxprxTLG9kzBgPoPwuWfCIyxKaZHmFaQugIhAKUApa1VZn/RgK7843sJ+Cs0ClwdZCV/HNhCiE29gahT","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index","_from":".","_shasum":"704fe07db402f57530b2fbf403dc4a17613d21f6","engines":{"node":">=0.10.0"},"gitHead":"8acd376e3aff68111e0b284a44c2710a52c32d38","scripts":{"es5":"babel --presets babel-preset-es2015 --no-comments lib --out-dir es5","docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js > README.md; echo","test":"tape test/*.js"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"standard":{"ignore":["es5"]},"repository":{"url":"git+https://github.com/75lb/command-line-commands.git","type":"git"},"_npmVersion":"3.8.9","description":"Add a git-like command interface to your app.","directories":{},"_nodeVersion":"6.2.0","dependencies":{"array-back":"^1.0.3","command-line-args":"^2.1.6","feature-detect-es6":"^1.2.0"},"devDependencies":{"tape":"^4.5.1","jsdoc-to-markdown":"^1.3.6","command-line-usage":"^3.0.0","babel-preset-es2015":"^6.6.0"},"_npmOperationalInternal":{"tmp":"tmp/command-line-commands-1.0.2.tgz_1463999023671_0.47346889576874673","host":"packages-16-east.internal.npmjs.com"}},"1.0.3":{"name":"command-line-commands","version":"1.0.3","keywords":["argv","parse","argument","args","option","parser","parsing","cli","command","commands","line"],"author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"license":"MIT","_id":"command-line-commands@1.0.3","maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"homepage":"https://github.com/75lb/command-line-commands#readme","bugs":{"url":"https://github.com/75lb/command-line-commands/issues"},"dist":{"shasum":"d5261cb7a9d41a187486a7c996acb5b9d350c1d9","tarball":"https://registry.npmjs.org/command-line-commands/-/command-line-commands-1.0.3.tgz","integrity":"sha512-B73UzimVDdcsukRVz1Ei1W1L6xENzJSbTrFRlnBj/1IZiTZlqwHcrx9HiZhHNO+CL3zxM59l9VmYWir7Q4R4CA==","signatures":[{"sig":"MEQCIACNrpLZTp1/xyistzJyi2Ji9GBRq3DGTUkqHUENGkmiAiARuxkUN2dO86Qnzk988kallGr5a3PoHwvVJjamZ5cGGg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index","_from":".","_shasum":"d5261cb7a9d41a187486a7c996acb5b9d350c1d9","engines":{"node":">=0.10.0"},"gitHead":"2764ff49a073308cc60e3688bac7d2bf68ad45a5","scripts":{"es5":"babel --presets babel-preset-es2015 --no-comments lib --out-dir es5","docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js > README.md; echo","test":"tape test/*.js"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"standard":{"ignore":["es5"]},"repository":{"url":"git+https://github.com/75lb/command-line-commands.git","type":"git"},"_npmVersion":"3.8.9","description":"Add a git-like command interface to your app.","directories":{},"_nodeVersion":"6.2.0","dependencies":{"array-back":"^1.0.3","feature-detect-es6":"^1.3.0"},"devDependencies":{"tape":"^4.5.1","minimist":"^1.2.0","jsdoc-to-markdown":"^1.3.6","command-line-usage":"^3.0.1","babel-preset-es2015":"^6.9.0"},"_npmOperationalInternal":{"tmp":"tmp/command-line-commands-1.0.3.tgz_1464538732773_0.44168898835778236","host":"packages-16-east.internal.npmjs.com"}},"1.0.4":{"name":"command-line-commands","version":"1.0.4","keywords":["argv","parse","argument","args","option","parser","parsing","cli","command","commands","line"],"author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"license":"MIT","_id":"command-line-commands@1.0.4","maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"homepage":"https://github.com/75lb/command-line-commands#readme","bugs":{"url":"https://github.com/75lb/command-line-commands/issues"},"dist":{"shasum":"034f9b167b5188afbdcf6b2efbb150fc8442c32b","tarball":"https://registry.npmjs.org/command-line-commands/-/command-line-commands-1.0.4.tgz","integrity":"sha512-l/z6Avh5umBu6grouQAQbvPU87NH4ud1WBMV+P4n+LRQj2MiCfaVXLCo8Klcd9xwOgungPbnpNVuZ6+AX9W+0g==","signatures":[{"sig":"MEQCIFpGKwK2LpywvdFJHUhSFFW67Del6wfV+Gcq6ax+oqUvAiBHiNW9dcL0EI4U8ynMfpx3kM5up7GdMWVxpp0dFLtydA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index","_from":".","_shasum":"034f9b167b5188afbdcf6b2efbb150fc8442c32b","engines":{"node":">=0.10.0"},"gitHead":"43dbcf90b763373615a4148c63b8c751fe388322","scripts":{"es5":"babel --presets babel-preset-es2015 --no-comments lib --out-dir es5","docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js > README.md; echo","test":"test-runner --files test/*.js","cover":"istanbul cover ./node_modules/.bin/test-runner -- --files test/*.js && cat coverage/lcov.info | ./node_modules/.bin/coveralls && rm -rf coverage; echo"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"standard":{"ignore":["es5"]},"repository":{"url":"git+https://github.com/75lb/command-line-commands.git","type":"git"},"_npmVersion":"3.10.3","description":"Add a git-like command interface to your app.","directories":{},"_nodeVersion":"6.4.0","dependencies":{"array-back":"^1.0.3","feature-detect-es6":"^1.3.1"},"devDependencies":{"minimist":"^1.2.0","coveralls":"^2.11.12","core-assert":"^0.2.0","test-runner":"^0.2.3","command-line-args":"^3.0.1","jsdoc-to-markdown":"^2.0.0-alpha.12","command-line-usage":"^3.0.3","babel-preset-es2015":"^6.13.2"},"_npmOperationalInternal":{"tmp":"tmp/command-line-commands-1.0.4.tgz_1472066902090_0.6206389509607106","host":"packages-16-east.internal.npmjs.com"}},"2.0.0":{"name":"command-line-commands","version":"2.0.0","keywords":["argv","parse","argument","args","option","parser","parsing","cli","command","commands","line"],"author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"license":"MIT","_id":"command-line-commands@2.0.0","maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"homepage":"https://github.com/75lb/command-line-commands#readme","bugs":{"url":"https://github.com/75lb/command-line-commands/issues"},"dist":{"shasum":"1abda11633e8d37bcb1a39f73b8d939a2d85ef39","tarball":"https://registry.npmjs.org/command-line-commands/-/command-line-commands-2.0.0.tgz","integrity":"sha512-6fQLkMw5wwKHe+Nb9RDyQ+6QXi673e8Ghz00wpG9hhQswC/9rrnp4q3sMMGvYH5OylZpGVPk3WhC5lt2K35T2g==","signatures":[{"sig":"MEUCIQD7CrDRcY4QR5DMFdYoLwdhY75quETl5axzpqVVcvMteAIgUR2eFt10erI0j47yvX7hR7Ula29SzWH5QbkGbEaAsJQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/command-line-commands.js","_from":".","files":["lib"],"_shasum":"1abda11633e8d37bcb1a39f73b8d939a2d85ef39","engines":{"node":">=4.0.0"},"gitHead":"bb8e80054e9b32609a838b602d0e82ecc001402f","scripts":{"docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js > README.md; echo","test":"test-runner --files test/*.js","cover":"istanbul cover ./node_modules/.bin/test-runner -- --files test/*.js && cat coverage/lcov.info | ./node_modules/.bin/coveralls && rm -rf coverage; echo"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"repository":{"url":"git+https://github.com/75lb/command-line-commands.git","type":"git"},"_npmVersion":"4.0.5","description":"Add a git-like command interface to your app.","directories":{},"_nodeVersion":"7.4.0","dependencies":{"array-back":"^1.0.4"},"devDependencies":{"minimist":"^1.2.0","coveralls":"^2.11.15","test-runner":"^0.3.0","command-line-args":"^3.0.5","jsdoc-to-markdown":"^2.0.1","command-line-usage":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/command-line-commands-2.0.0.tgz_1484603263026_0.10574737377464771","host":"packages-18-east.internal.npmjs.com"}},"2.0.1":{"name":"command-line-commands","version":"2.0.1","keywords":["argv","parse","argument","args","option","parser","parsing","cli","command","commands","line"],"author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"license":"MIT","_id":"command-line-commands@2.0.1","maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"homepage":"https://github.com/75lb/command-line-commands#readme","bugs":{"url":"https://github.com/75lb/command-line-commands/issues"},"dist":{"shasum":"c58aa13dc78c06038ed67077e57ad09a6f858f46","tarball":"https://registry.npmjs.org/command-line-commands/-/command-line-commands-2.0.1.tgz","integrity":"sha512-m8c2p1DrNd2ruIAggxd/y6DgygQayf6r8RHwchhXryaLF8I6koYjoYroVP+emeROE9DXN5b9sP1Gh+WtvTTdtQ==","signatures":[{"sig":"MEUCIDyY27G2hC/6OHbkgItoyiG2dpDjZDaUKMbeEV2VFYLrAiEAslzTZD7ptgNwoJOYHXHsLM1ONaPG6BdJ1NFwRCRKHeM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/command-line-commands.js","files":["lib"],"engines":{"node":">=4.0.0"},"gitHead":"0ef613ea7a22700126ff898a3ce6cbf862ecf286","scripts":{"docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js > README.md; echo","test":"test-runner --files test/*.js","cover":"istanbul cover ./node_modules/.bin/test-runner -- --files test/*.js && cat coverage/lcov.info | ./node_modules/.bin/coveralls && rm -rf coverage; echo"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"repository":{"url":"git+https://github.com/75lb/command-line-commands.git","type":"git"},"_npmVersion":"5.0.3","description":"Add a git-like command interface to your app.","directories":{},"_nodeVersion":"8.1.4","dependencies":{"array-back":"^2.0.0"},"devDependencies":{"minimist":"^1.2.0","coveralls":"^2.13.1","test-runner":"^0.4.0","command-line-args":"^4.0.6","jsdoc-to-markdown":"^3.0.0","command-line-usage":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/command-line-commands-2.0.1.tgz_1499940473753_0.9687853618524969","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"command-line-commands","version":"3.0.0","keywords":["argv","parse","argument","args","option","parser","parsing","cli","command","commands","line"],"author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"license":"MIT","_id":"command-line-commands@3.0.0","maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"homepage":"https://github.com/75lb/command-line-commands#readme","bugs":{"url":"https://github.com/75lb/command-line-commands/issues"},"dist":{"shasum":"9f7ccacd4667dc65c0297d46cc986db25a424ec9","tarball":"https://registry.npmjs.org/command-line-commands/-/command-line-commands-3.0.0.tgz","fileCount":5,"integrity":"sha512-kqMcCP3HwWjBQ8WIvyBI+YJ5RV3CJA66S0rkRkKdDZbclYMfQOJJ8ilm7Y2Jfv3hvUG6/9KT2KpDoa/dzRuwwA==","signatures":[{"sig":"MEUCIFBGjv3Wwt9Gc6ihesAc4T6TsFZwBKGCt2+E8J7tg0luAiEA6ioiTHjdO2WQffyRc3K2IEXFT4JUuDCmUS/KINsM4eQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13506,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdgqXyCRA9TVsSAnZWagAAR9wQAIlQR1LWap9B/iWO2ndr\n4kUlVyLUtlaIQ250NvFfZOXj/TUX4xMbT7Q0bnUdKi8bZPOn5/Fix8aKCtVV\nX4IclyvgRTAWEdENVnI1MZ991qrM5TyJ418wAVxpmtVMLzSNW8YAu5Ke6F+t\ncFiP7xK4k4yKCxymYIehVH+Hfiv8bQfGIGLLRdlF6BldGkRSaN8Ic7dVHiiV\n4Y9N7N7ZA7Qp9QHOHET+OMmZYl8vaAVgQdj+vA02uIGLyDwS+dwt81u3g90z\n4qIKW+O6a9D3LzkI/TQ7pgFtbnpOEhp5TRzx+HoZtTsKER3Qn3IBnTHnwkB4\neSFW5+gjFspiWEdD9RaiOPB+Zx0T+VK277y1JFg4jYq0y1FJDHPpO3G7JntK\nTvZqqwk0Kk1M4pP+T311XsuTER1aQgbwg0175cA0EAY+x9BSyuP2OqmwP9z1\nZgwVgKqMFPdWJzBiPn6My8DCuEFh7Oipzp5mI9vmsGMv/+A8YpvhXar+bnSt\nZV7kLBJUtB4FtAmcpAvMzPDABL9UhU94aGfsPYjDlN2ZRUr8+W10IpZq0L2n\nSM9+Ujm5xs02zwZkKDmqDEBpsKtr0ElRKIRrhd1MjeK4joo43wVQ9K5JuV4M\nC7tyE1znW372cXEHoTTqGLXIZVbZMTTU+cMRUqLbBrGUHlo3rVAXFqtlii4D\nSamy\r\n=KZke\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/command-line-commands.js","engines":{"node":">=8"},"gitHead":"6155733a487a1c6cd65619650e06aab4296bbba5","scripts":{"docs":"jsdoc2md -t README.hbs index.js > README.md","test":"test-runner --files test.js","cover":"istanbul cover ./node_modules/.bin/test-runner -- --files test/*.js && cat coverage/lcov.info | ./node_modules/.bin/coveralls && rm -rf coverage; echo"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"repository":{"url":"git+https://github.com/75lb/command-line-commands.git","type":"git"},"_npmVersion":"6.11.3","description":"Add a git-like command interface to your app.","directories":{},"_nodeVersion":"12.10.0","dependencies":{"array-back":"^4.0.0"},"_hasShrinkwrap":false,"devDependencies":{"minimist":"^1.2.0","coveralls":"^3.0.6","test-runner":"^0.6.0","command-line-args":"^5.1.1","jsdoc-to-markdown":"^5.0.1","command-line-usage":"^6.0.2"},"_npmOperationalInternal":{"tmp":"tmp/command-line-commands_3.0.0_1568843249878_0.6908880116798339","host":"s3://npm-registry-packages"}},"3.0.1":{"name":"command-line-commands","version":"3.0.1","keywords":["argv","parse","argument","args","option","parser","parsing","cli","command","commands","line"],"author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"license":"MIT","_id":"command-line-commands@3.0.1","maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"homepage":"https://github.com/75lb/command-line-commands#readme","bugs":{"url":"https://github.com/75lb/command-line-commands/issues"},"dist":{"shasum":"1d3e8ae0cf47359a3b282064f78c5d40797f1103","tarball":"https://registry.npmjs.org/command-line-commands/-/command-line-commands-3.0.1.tgz","fileCount":6,"integrity":"sha512-DYxDIdmOk3T6+aPgLOl+8JGmwpndfTlnSeFPjRzNIVTjPww6D0WuKvEh6mevn1gM/bWP3MIH2iTEO8QbxvteQg==","signatures":[{"sig":"MEUCIC9RTkJE/HHUlWL5Wb4mBSK20ubHr0rDZ6+2E2a8hFltAiEAqYKoCdL6ftkGgRGVaqOe/x0r9S2jmh+X30XGikB1fWg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14016,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdgqY9CRA9TVsSAnZWagAAkx4P/3fazqcgW30wy3bXxhoG\n2RWz5Q2WC+tiQNAEeWgeNRJYTAG97XimSWJFW7U99D62fy8IrX8UbVzG5QoH\nbtPKimZeyKdW7m55YHuDh8/ebXNckPvyMI/GlXx1aAKV0b8AmtDuIwW+zeK3\nxbBoPq3Ofkexr9KQuVgeEsC1GWp/0EEDfMmL1UpdTpQcvY550TG6dUY3TmzN\nBWVTWOqX6W7lm7F32WksiSg4NDh3I7niAYubPcmTbW3FK45/8sXdCBV9i1Cm\njO1VWKL5DWqDJBIHJ8T7sNA6WTgm0csldpChM+axl484aOHD35KdbSLbA/4B\n8LkCuHcODazhke4YpMRhAkCp1HrzHDTkQo5iCZ0h1L4WdON+Yywr253nQWZS\nxB5eJE5Om3G15F7eKa/cox8HoPHyBRl7YjVp7Kn0V1/s6k+odcGqXTYITvcf\nGw9iisJi9hRLVxLFXlKybXTQrpSvib91o3j6E5UgASXGI2By2vXpsArfx/qs\n+6C/+7D+8hRIffo3yTLXBWGyIYSgWupfeAU9RU+tOZoNwfs7KcxZHT7n/dK4\nPq0UHen9rG4W0kIwHsf44ZjhCzg/lE+YBq5BsmDtrSBbycB6kHHkZThgxVJv\ny0pa7mZgS0wlk+UoljLHOa0a6IotKFnN/xQHy4E+OialrRv097B63un+N83K\nls/U\r\n=7j8M\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/command-line-commands.js","engines":{"node":">=8"},"gitHead":"1311f0113aa4aae441aa0552eaa1dc04960889e6","scripts":{"docs":"jsdoc2md -t README.hbs index.js > README.md","test":"test-runner --files test.js","cover":"istanbul cover ./node_modules/.bin/test-runner -- --files test/*.js && cat coverage/lcov.info | ./node_modules/.bin/coveralls && rm -rf coverage; echo"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"repository":{"url":"git+https://github.com/75lb/command-line-commands.git","type":"git"},"_npmVersion":"6.11.3","description":"Add a git-like command interface to your app.","directories":{},"_nodeVersion":"12.10.0","dependencies":{"array-back":"^4.0.0"},"_hasShrinkwrap":false,"devDependencies":{"minimist":"^1.2.0","coveralls":"^3.0.6","test-runner":"^0.6.0","command-line-args":"^5.1.1","jsdoc-to-markdown":"^5.0.1","command-line-usage":"^6.0.2"},"_npmOperationalInternal":{"tmp":"tmp/command-line-commands_3.0.1_1568843324573_0.6009286737390847","host":"s3://npm-registry-packages"}},"3.0.2":{"name":"command-line-commands","version":"3.0.2","keywords":["argv","parse","argument","args","option","parser","parsing","cli","command","commands","line"],"author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"license":"MIT","_id":"command-line-commands@3.0.2","maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"homepage":"https://github.com/75lb/command-line-commands#readme","bugs":{"url":"https://github.com/75lb/command-line-commands/issues"},"dist":{"shasum":"53872a1181db837f21906b1228e260a4eeb42ee4","tarball":"https://registry.npmjs.org/command-line-commands/-/command-line-commands-3.0.2.tgz","fileCount":6,"integrity":"sha512-ac6PdCtdR6q7S3HN+JiVLIWGHY30PRYIEl2qPo+FuEuzwAUk0UYyimrngrg7FvF/mCr4Jgoqv5ZnHZgads50rw==","signatures":[{"sig":"MEUCIHGTDlRPFIzpcdDzktvpAn84SOo1e/xXUeZpJgcFg6wPAiEAkvghkKINNnzezuI7hln6p6Ib0U2HHtIIIy5u9LNwcv4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13974,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfnT8HCRA9TVsSAnZWagAAcTEP/0iZFn7kAzdTtNFPv2UQ\nQfDmNJSWMJ6uZMUKTvZwTILsqc+Va4/5M6JY8eSNO1TRasU9ErLhM5qOCzh3\nr7pylS0wf89O8M8OZoRlhY2sFq6mv+2Wkv7qZfG5P+YQOb3LKT3gM6YxLpYH\n57N6gv4qFUbHldXE17Pe0cNR6MBbjM+rJ2jL9NqSI9xDcShXJwjr+rt2FyAF\n5U/IH4Mt03IAKkaKWFxRNfJkd9Pz5ZS/PUrss7mJD4gTvxpHpVaA/pAIzhyg\nlUboFogmeaDJv14UG+WZswZ3+471EPlyRcVfdlpNQ7xcwPqEgAZJtSTHXjKf\nZmGCBQEBUeuqMSvREwt6DtDRuuEi/4grpXYgmfUWU8xM6zrJhn+12FkhRxtI\nAN/XVLfFCjCAGwYX8529LHUGegBSaGkT+7DqYwpqi7BkKsipQO18+faE9Zvn\nXcTnrnkua+cCyNMIEkExah21q4z4fLjehM1BHNoZ4w3uQXkL6Wbz3nexXm2C\nMs4//v6Rt5Mk0jsHilE02zWJ92B92g24dVqHN7o9SsFc80i/LWSYlzwvjwK5\nHJ0MU/V934m+rvd6tSZuooXmtlZI2pv+PxR7KxJZX1MaMQb6Z8b5aou2CxTe\niSYf+yGPNwt7W70QrdtqIXHUf9lGE8+bJvaabuN/OJ7n0ckbp+jpJ/H0yrS8\nrlRw\r\n=GSOQ\r\n-----END PGP SIGNATURE-----\r\n"},"engines":{"node":">=8"},"gitHead":"25f7538b323db9562f6a1641deff27581e00e471","scripts":{"docs":"jsdoc2md -t README.hbs index.js > README.md","test":"test-runner --files test.js","cover":"istanbul cover ./node_modules/.bin/test-runner -- --files test/*.js && cat coverage/lcov.info | ./node_modules/.bin/coveralls && rm -rf coverage; echo"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"repository":{"url":"git+https://github.com/75lb/command-line-commands.git","type":"git"},"_npmVersion":"7.0.3","description":"Add a git-like command interface to your app.","directories":{},"_nodeVersion":"15.0.1","dependencies":{"array-back":"^4.0.1"},"_hasShrinkwrap":false,"devDependencies":{"minimist":"^1.2.5","coveralls":"^3.1.0","test-runner":"^0.6.3","command-line-args":"^5.1.1","jsdoc-to-markdown":"^5.0.3","command-line-usage":"^6.1.0"},"_npmOperationalInternal":{"tmp":"tmp/command-line-commands_3.0.2_1604140806991_0.25337100645616273","host":"s3://npm-registry-packages"}},"4.0.1":{"name":"command-line-commands","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"4.0.1","description":"Add a git-like command interface to your app.","repository":{"type":"git","url":"git+https://github.com/75lb/command-line-commands.git"},"license":"MIT","type":"module","exports":{"import":"./index.js","require":"./dist/index.cjs"},"keywords":["argv","parse","argument","args","option","parser","parsing","cli","command","commands","line"],"engines":{"node":">=12.17"},"scripts":{"test":"npm run dist && npm run test:ci","test:ci":"75lb-nature test-runner test.js","docs":"75lb-nature jsdoc2md -t README.hbs index.js > README.md","dist":"75lb-nature cjs-build index.js"},"peerDependencies":{"@75lb/nature":"latest"},"peerDependenciesMeta":{"@75lb/nature":{"optional":true}},"dependencies":{"array-back":"^6.2.2"},"devDependencies":{"command-line-args":"^6.0.0","command-line-usage":"^7.0.3","minimist":"^1.2.8"},"_id":"command-line-commands@4.0.1","gitHead":"800b3b9111e7f6da6e1b647a5ef46ce77376fbc6","bugs":{"url":"https://github.com/75lb/command-line-commands/issues"},"homepage":"https://github.com/75lb/command-line-commands#readme","_nodeVersion":"22.8.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-EKgwIf5iea3FkVF5aFPb92cqqQ0J4N+GwqLb8SCMy3BPh4w7nYc7FTmOkUg9MrBqfh9r5f/CPhlFph3zd5T/eA==","shasum":"354e07bd0cadfc6e36dbb26a21dfa4e21ac32d6e","tarball":"https://registry.npmjs.org/command-line-commands/-/command-line-commands-4.0.1.tgz","fileCount":7,"unpackedSize":16479,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAXVhr/9/JkePHT3rEZeOLtVu+zYv1XeunW7AYroZDGsAiEAhIqJsurcmZjcb4tmHCa8fdlNT2yMloVdO1++EOajuaE="}]},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"directories":{},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/command-line-commands_4.0.1_1726528204193_0.5424484652479973"},"_hasShrinkwrap":false}},"time":{"created":"2015-11-27T18:42:58.977Z","modified":"2024-09-16T23:10:04.619Z","0.0.0":"2015-11-27T18:42:58.977Z","0.1.0":"2015-11-28T11:23:36.071Z","0.1.1":"2015-11-28T12:01:04.139Z","0.1.2":"2016-01-09T10:52:21.592Z","1.0.0":"2016-05-16T22:37:30.339Z","1.0.1":"2016-05-16T22:59:39.546Z","1.0.2":"2016-05-23T10:23:44.655Z","1.0.3":"2016-05-29T16:18:54.734Z","1.0.4":"2016-08-24T19:28:24.895Z","2.0.0":"2017-01-16T21:47:43.580Z","2.0.1":"2017-07-13T10:07:54.651Z","3.0.0":"2019-09-18T21:47:29.964Z","3.0.1":"2019-09-18T21:48:44.748Z","3.0.2":"2020-10-31T10:40:07.136Z","4.0.1":"2024-09-16T23:10:04.404Z"},"bugs":{"url":"https://github.com/75lb/command-line-commands/issues"},"author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"license":"MIT","homepage":"https://github.com/75lb/command-line-commands#readme","keywords":["argv","parse","argument","args","option","parser","parsing","cli","command","commands","line"],"repository":{"type":"git","url":"git+https://github.com/75lb/command-line-commands.git"},"description":"Add a git-like command interface to your app.","maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"readme":"[![view on npm](https://badgen.net/npm/v/command-line-commands)](https://www.npmjs.org/package/command-line-commands)\n[![npm module downloads](https://badgen.net/npm/dt/command-line-commands)](https://www.npmjs.org/package/command-line-commands)\n[![Gihub repo dependents](https://badgen.net/github/dependents-repo/75lb/command-line-commands)](https://github.com/75lb/command-line-commands/network/dependents?dependent_type=REPOSITORY)\n[![Gihub package dependents](https://badgen.net/github/dependents-pkg/75lb/command-line-commands)](https://github.com/75lb/command-line-commands/network/dependents?dependent_type=PACKAGE)\n[![Node.js CI](https://github.com/75lb/command-line-commands/actions/workflows/node.js.yml/badge.svg)](https://github.com/75lb/command-line-commands/actions/workflows/node.js.yml)\n[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](https://github.com/feross/standard)\n\n# command-line-commands\n\nA lightweight module to help build a git-like command interface for your app.\n\nIts job is to extract the command (the first argument, unless it's an option), check it's valid and either return it or throw. From there, you can parse the remaining args using your preferred option parser (e.g. [command-line-args](https://github.com/75lb/command-line-args), [minimist](https://github.com/substack/minimist) etc.).\n\n## Synopsis\n\nCreate a list of valid commands (`null` represents \"no command\"). Supply it to `commandLineCommands()`, receiving back an object with two properties: `command` (the supplied command) and `argv` (the remainder of the command line args):\n```js\nconst commandLineCommands = require('command-line-commands')\n\nconst validCommands = [ null, 'clean', 'update', 'install' ]\nconst { command, argv } = commandLineCommands(validCommands)\n\n/* print the command and remaining command-line args */\nconsole.log('command: %s', command)\nconsole.log('argv:    %s', JSON.stringify(argv))\n```\n\nWe'll assume the above script is installed as `example`. Since the `validCommands` list includes `null`, running it without a command is valid:\n```\n$ example\ncommand: null\nargv:    []\n```\n\nRunning `example` with no command and one option:\n```\n$ example --verbose\ncommand: null\nargv:    [\"--verbose\"]\n```\n\nRunning `example` with both a command and an option:\n```\n$ example install --save something\ncommand: install\nargv:    [\"--save\",\"something\"]\n```\n\nRunning `example` without a valid command will cause `commandLineCommands()` to throw.\n\nFrom here, you can make a decision how to proceed based on the `command` and `argv` received. For example, if no command (`null`) was passed, you could parse the remaining `argv` for general options (in this case using [command-line-args](https://github.com/75lb/command-line-args)):\n\n```js\nif (command === null) {\n  const commandLineArgs = require('command-line-args')\n  const optionDefinitions = [\n    { name: 'version', type: Boolean }\n  ]\n\n  // pass in the `argv` returned by `commandLineCommands()`\n  const options = commandLineArgs(optionDefinitions, { argv })\n\n  if (options.version) {\n    console.log('version 1.0.1')\n  }\n}\n```\n\nThe same example, using [minimist](https://github.com/substack/minimist):\n\n```js\nif (command === null) {\n  const minimist = require('minimist')\n\n  // pass in the `argv` returned by `commandLineCommands()``\n  const options = minimist(argv)\n\n  if (options.version) {\n    console.log('version 1.0.1')\n  }\n}\n```\n\n## More examples\n\nBoth examples use [command-line-args](https://github.com/75lb/command-line-args) for option-parsing.\n\n- [Simple](https://github.com/75lb/command-line-commands/blob/master/example/simple.js): A basic app with a couple of commands.\n- [Advanced](https://github.com/75lb/command-line-commands/blob/master/example/advanced/git.js): A more complete example, implementing part of the git command interface.\n\n## Usage guides\n\nUsage guides can be generated by [command-line-usage](https://github.com/75lb/command-line-usage). Here is a simple example ([code](https://github.com/75lb/command-line-commands/blob/master/example/usage.js)):\n\n![usage](https://raw.githubusercontent.com/75lb/command-line-commands/master/example/screens/command-list.png)\n\n# API Reference\n**Example**  \n```js\nconst commandLineCommands = require('command-line-commands')\n```\n<a name=\"exp_module_command-line-commands--commandLineCommands\"></a>\n\n### commandLineCommands(commands, [argv]) ⇒ <code>Object</code> ⏏\nParses the `argv` value supplied (or `process.argv` by default), extracting and returning the `command` and remainder of `argv`. The command will be the first value in the `argv` array unless it is an option (e.g. `--help`).\n\n**Kind**: Exported function  \n**Throws**:\n\n- `INVALID_COMMAND` - user supplied a command not specified in `commands`.\n\n\n| Param | Type | Description |\n| --- | --- | --- |\n| commands | <code>string</code> \\| <code>Array.&lt;string&gt;</code> | One or more command strings, one of which the user must supply. Include `null` to represent \"no command\" (effectively making a command optional). |\n| [argv] | <code>Array.&lt;string&gt;</code> | An argv array, defaults to the global `process.argv` if not supplied. |\n\n\n* * *\n\n&copy; 2015-25 Lloyd Brookes \\<75pound@gmail.com\\>. Documented by [jsdoc-to-markdown](https://github.com/jsdoc2md/jsdoc-to-markdown).\n","readmeFilename":"README.md","users":{"alfeo92":true,"jjdanois":true,"hkgsherlock":true,"matiasmarani":true}}