{"_id":"cli-commands","_rev":"15-6770c19d468cfb870a42a74e3257c650","name":"cli-commands","dist-tags":{"latest":"0.4.0"},"versions":{"0.0.0":{"name":"cli-commands","version":"0.0.0","keywords":[],"author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"license":"MIT","_id":"cli-commands@0.0.0","maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"homepage":"https://github.com/75lb/cli-commands#readme","bugs":{"url":"https://github.com/75lb/cli-commands/issues"},"dist":{"shasum":"25d9527e646021ac9027d36a902c4061afa27d7b","tarball":"https://registry.npmjs.org/cli-commands/-/cli-commands-0.0.0.tgz","integrity":"sha512-HHTIVrWd/Q4wzbV4T0zFV1qcsuH7lvHQ1YYQ7FMjZ3gaZi0qilYOuvdnf77dA8v9UVSNCmlsuKz6kv979jaadg==","signatures":[{"sig":"MEQCIFphT+X2LO7v29Lx5vUE6NY/uBXTPzc3wApClC32JQtrAiB8qSWtPBTLkLjReVE34vuRD+wPjV2wSgtOUyX6v84ThQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib/cli-commands.js","_from":".","_shasum":"25d9527e646021ac9027d36a902c4061afa27d7b","engines":{"node":">=0.10.0"},"gitHead":"ea8a0fff0a98b8781b1528b9453e29aa0b369074","scripts":{"docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js > README.md; echo","test":"test-runner test/*.js"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"repository":{"url":"git+https://github.com/75lb/cli-commands.git","type":"git"},"_npmVersion":"3.10.8","description":"cli-commands","directories":{},"_nodeVersion":"6.9.1","dependencies":{"command-line-args":"^3.0.1","command-line-usage":"^3.0.5","command-line-commands":"^1.0.4"},"_npmOperationalInternal":{"tmp":"tmp/cli-commands-0.0.0.tgz_1477218593121_0.26859190966933966","host":"packages-12-west.internal.npmjs.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.1":{"name":"cli-commands","version":"0.0.1","keywords":[],"author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"license":"MIT","_id":"cli-commands@0.0.1","maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"homepage":"https://github.com/75lb/cli-commands#readme","bugs":{"url":"https://github.com/75lb/cli-commands/issues"},"dist":{"shasum":"960d7af75cc531db9b759fd1605cefad2ca8826b","tarball":"https://registry.npmjs.org/cli-commands/-/cli-commands-0.0.1.tgz","integrity":"sha512-m4ZV4eUKed7vIqdVHZmGBd4pGMa+lsQkw4BbzvmkLs8x+3U3WGb+nU4Jhq4ZMWsLmByt355kHVknABw1iK/EnA==","signatures":[{"sig":"MEUCIQCYjthsLVBrUqgb2e1Iku/osguahmpQj4C5QqADX6aC3wIgJ03D61bCraMmuoWcD1dl+w7haXZEcpn7Gc8D9mCT4MI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib/cli-commands.js","_from":".","_shasum":"960d7af75cc531db9b759fd1605cefad2ca8826b","engines":{"node":">=0.10.0"},"gitHead":"411dd4ea6eaa217cbc72efd3561a74e836763359","scripts":{"docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js > README.md; echo","test":"test-runner test/*.js"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"repository":{"url":"git+https://github.com/75lb/cli-commands.git","type":"git"},"_npmVersion":"3.10.8","description":"cli-commands","directories":{},"_nodeVersion":"6.9.1","dependencies":{"command-line-args":"^3.0.1","command-line-usage":"^3.0.5","ansi-escape-sequences":"^3.0.0","command-line-commands":"^1.0.4"},"_npmOperationalInternal":{"tmp":"tmp/cli-commands-0.0.1.tgz_1477223441263_0.9326091911643744","host":"packages-12-west.internal.npmjs.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.1.0":{"name":"cli-commands","version":"0.1.0","keywords":[],"author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"license":"MIT","_id":"cli-commands@0.1.0","maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"homepage":"https://github.com/75lb/cli-commands#readme","bugs":{"url":"https://github.com/75lb/cli-commands/issues"},"dist":{"shasum":"c57cacc406bbcf9ee21646607161ed432ef5a05a","tarball":"https://registry.npmjs.org/cli-commands/-/cli-commands-0.1.0.tgz","integrity":"sha512-q7sQb4fp+8T7OLlHf0iJoCUFqvgURR/QEj0WmFZVqJZsfEo4jJ0ozSNuCHTDn5Z92WnjCfQlsi2jBjbOMkkNjA==","signatures":[{"sig":"MEQCIGv2ukrw0O+NEp1edG8nFHdCgj6Wu5l9qExetnhozZiwAiA918SDMLYzrDs9gx7KPD0n7tCoMGhk3GQbCHBT6fvrtA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib/cli-commands.js","_from":".","_shasum":"c57cacc406bbcf9ee21646607161ed432ef5a05a","engines":{"node":">=0.10.0"},"gitHead":"23ed41e859a7a90b3b5ddf57a82f73b8065a0de0","scripts":{"docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js > README.md; echo","test":"test-runner test/*.js"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"repository":{"url":"git+https://github.com/75lb/cli-commands.git","type":"git"},"_npmVersion":"3.10.8","description":"cli-commands","directories":{},"_nodeVersion":"6.9.1","dependencies":{"command-line-args":"^3.0.1","command-line-usage":"^3.0.5","ansi-escape-sequences":"^3.0.0","command-line-commands":"^1.0.4"},"_npmOperationalInternal":{"tmp":"tmp/cli-commands-0.1.0.tgz_1477246796626_0.03085306636057794","host":"packages-12-west.internal.npmjs.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.2.0":{"name":"cli-commands","version":"0.2.0","keywords":[],"author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"license":"MIT","_id":"cli-commands@0.2.0","maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"homepage":"https://github.com/75lb/cli-commands#readme","bugs":{"url":"https://github.com/75lb/cli-commands/issues"},"dist":{"shasum":"a6f6f82a6b8bb0565b45b8bccaff9d447004e9e5","tarball":"https://registry.npmjs.org/cli-commands/-/cli-commands-0.2.0.tgz","integrity":"sha512-BdTqJ3EFDcoEvsUixNMVaXIlglLCnLlRHdVO8gwolepNk/NUfauzTfyse1f2wuTRrAei6fT2i5TFsb0daUxD8A==","signatures":[{"sig":"MEQCIDsyzsY74XojnDiMTIp8i3Up6twDWKaIUsbR8ytALYz1AiA80xUg74qTxIyTMj3vlCoRqXGUc6dX3pirevt3KySqdA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib/cli-commands.js","_from":".","_shasum":"a6f6f82a6b8bb0565b45b8bccaff9d447004e9e5","engines":{"node":">=4.0.0"},"gitHead":"fd433ee559fd0e4e954141adaf283762998accdd","scripts":{"docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js > README.md; echo","test":"test-runner test/*.js"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"repository":{"url":"git+https://github.com/75lb/cli-commands.git","type":"git"},"_npmVersion":"4.0.5","description":"cli-commands","directories":{},"_nodeVersion":"7.4.0","dependencies":{"command-line-args":"^3.0.5","command-line-usage":"^4.0.0","ansi-escape-sequences":"^3.0.0","command-line-commands":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/cli-commands-0.2.0.tgz_1484603666137_0.7029869297984987","host":"packages-18-east.internal.npmjs.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.2.1":{"name":"cli-commands","version":"0.2.1","keywords":[],"author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"license":"MIT","_id":"cli-commands@0.2.1","maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"homepage":"https://github.com/75lb/cli-commands#readme","bugs":{"url":"https://github.com/75lb/cli-commands/issues"},"dist":{"shasum":"70f5a38c6661635b611577f674e6d0d0d8d0356b","tarball":"https://registry.npmjs.org/cli-commands/-/cli-commands-0.2.1.tgz","integrity":"sha512-lrZiP7xZ0v+ciTTUDlpkI4beabc8w6+XBX0i1/AQui5EZZvnbvzzNnmULd2b18LDriYxRS1dQ3zaH8YDSxrNXg==","signatures":[{"sig":"MEUCIQDFEht3Jja0ZSkMXrxEtcTd4FcDl1M1idtVxAraMpPR4gIgBU3mr9StFl6i3YFfrOrbz7GKRaXNEApQ5+W5ykoWczM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib/cli-commands.js","_from":".","_shasum":"70f5a38c6661635b611577f674e6d0d0d8d0356b","engines":{"node":">=4.0.0"},"gitHead":"c86dbabf8954ca43156e1f7279e06c8536092cf0","scripts":{"docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js > README.md; echo","test":"test-runner test/*.js"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"repository":{"url":"git+https://github.com/75lb/cli-commands.git","type":"git"},"_npmVersion":"4.1.2","description":"cli-commands","directories":{},"_nodeVersion":"7.7.1","dependencies":{"command-line-args":"^3.0.5","command-line-usage":"^4.0.0","ansi-escape-sequences":"^3.0.0","command-line-commands":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/cli-commands-0.2.1.tgz_1488795170576_0.6592849376611412","host":"packages-12-west.internal.npmjs.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.3.0":{"name":"cli-commands","version":"0.3.0","keywords":["command-line-commands","command-line","command","commands","argv","parse","option","parser"],"author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"license":"MIT","_id":"cli-commands@0.3.0","maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"homepage":"https://github.com/75lb/cli-commands#readme","bugs":{"url":"https://github.com/75lb/cli-commands/issues"},"dist":{"shasum":"fb92e5a286fe9cf3c86d4eb558e6f5a54ecaef46","tarball":"https://registry.npmjs.org/cli-commands/-/cli-commands-0.3.0.tgz","integrity":"sha512-9inNJFL2C6AHzFkfJqkATdOylwb3+e/dleE1RJx47QdWXA2Y97/kngCzZpIig2ANPwaWzPD63qhtMwKKmeBmZA==","signatures":[{"sig":"MEUCIQDUdC0KSbUgjUiKFz10bN6QRjUbPVBW8XZAWvNSWEKsWgIgZtw+tKFJjCgvtjXlbYQmayjoQi4HVmHZhmCGA+tjlKA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"cli-commands.js","engines":{"node":">=4.0.0"},"gitHead":"da7900dd991b906327b4a0339bf42f95df091517","scripts":{"docs":"jsdoc2md -t README.hbs cli-commands.js > README.md; echo","test":"test-runner test.js"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"repository":{"url":"git+https://github.com/75lb/cli-commands.git","type":"git"},"_npmVersion":"5.0.2","description":"cli-commands","directories":{},"_nodeVersion":"8.0.0","dependencies":{"command-line-args":"^4.0.6","command-line-commands":"^2.0.0"},"devDependencies":{"test-runner":"^0.3.0","jsdoc-to-markdown":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/cli-commands-0.3.0.tgz_1496779003119_0.2290594121441245","host":"s3://npm-registry-packages"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.3.1":{"name":"cli-commands","version":"0.3.1","keywords":["command-line-commands","command-line","command","commands","argv","parse","option","parser"],"author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"license":"MIT","_id":"cli-commands@0.3.1","maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"homepage":"https://github.com/75lb/cli-commands#readme","bugs":{"url":"https://github.com/75lb/cli-commands/issues"},"dist":{"shasum":"e40cbb1c69fd8229b7ac78ae4976d896e6571c2d","tarball":"https://registry.npmjs.org/cli-commands/-/cli-commands-0.3.1.tgz","integrity":"sha512-UloGvUiUEelYX8LlTORQaZwm2lOMR0goS+Ga+RlkLpoCpGv5QnwGsrwBO8UF0ZULdvuWsXNJqiOnAPGh9LyTjw==","signatures":[{"sig":"MEYCIQC9GFeBdEe257L96EeRM1SjvLH/rOZo2QYaKzv1DUDEvwIhAP3pLkAld+X1kdpPH403mio+tR+dGEj2UeOfLQY4kOPT","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"engines":{"node":">=4.0.0"},"gitHead":"fa20ced00b498e66f83d058b8225b64d61f0510a","scripts":{"docs":"jsdoc2md -t README.hbs cli-commands.js > README.md; echo","test":"test-runner test.js"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"repository":{"url":"git+https://github.com/75lb/cli-commands.git","type":"git"},"_npmVersion":"5.0.3","description":"cli-commands","directories":{},"_nodeVersion":"8.0.0","dependencies":{"command-line-args":"^4.0.6","command-line-commands":"^2.0.0"},"devDependencies":{"test-runner":"^0.3.0","jsdoc-to-markdown":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/cli-commands-0.3.1.tgz_1496779279042_0.26839571562595665","host":"s3://npm-registry-packages"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.3.2":{"name":"cli-commands","version":"0.3.2","keywords":["command-line-commands","command-line","command","commands","argv","parse","option","parser"],"author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"license":"MIT","_id":"cli-commands@0.3.2","maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"homepage":"https://github.com/75lb/cli-commands#readme","bugs":{"url":"https://github.com/75lb/cli-commands/issues"},"dist":{"shasum":"72868f2867c3d983aa75b415d2be79f8fb337590","tarball":"https://registry.npmjs.org/cli-commands/-/cli-commands-0.3.2.tgz","integrity":"sha512-84bP4ahXbpr8q4X+DeicMA34nME35JEgIGYGwbASe5SbyO9MMtPsyminLKxq8vHW4SOfByXlyKswU5lehoqq3Q==","signatures":[{"sig":"MEUCIH3tR/TKPTib9YVWsz0Obubfs5BY0TtuzNozmZZdwcpgAiEAiUoU0SJbxUcpItHRUHMBOybBhJEDKhiqQs9nZ9O/38I=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"engines":{"node":">=4.0.0"},"gitHead":"a7c3f974bf347fd633fe68c34ee1362fe0c4118e","scripts":{"docs":"jsdoc2md -t README.hbs cli-commands.js > README.md; echo","test":"test-runner test.js"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"repository":{"url":"git+https://github.com/75lb/cli-commands.git","type":"git"},"_npmVersion":"5.0.3","description":"cli-commands","directories":{},"_nodeVersion":"8.1.0","dependencies":{"command-line-args":"^4.0.6","command-line-commands":"^2.0.0"},"devDependencies":{"test-runner":"^0.3.0","jsdoc-to-markdown":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/cli-commands-0.3.2.tgz_1497129939449_0.10910037928260863","host":"s3://npm-registry-packages"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.3.3":{"name":"cli-commands","version":"0.3.3","keywords":["command-line-commands","command-line","command","commands","argv","parse","option","parser"],"author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"license":"MIT","_id":"cli-commands@0.3.3","maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"homepage":"https://github.com/75lb/cli-commands#readme","bugs":{"url":"https://github.com/75lb/cli-commands/issues"},"dist":{"shasum":"64cbd85438e7ef2a746f71932dcb609695aefd78","tarball":"https://registry.npmjs.org/cli-commands/-/cli-commands-0.3.3.tgz","integrity":"sha512-4QUHfe3+KoeeL/D8cjLEl8CSBvFy0Ov712ynqHPVFXt2FheYlZTJyCarKsOCGYqtRPMJYTlktJj9T9XagRcYkg==","signatures":[{"sig":"MEUCICYxNnPhPwJGRI2MqxZY/9E0mifcM41Hnc9XMe4SC5+qAiEAqyOzplhBH3dnskhQEJIbOw/8qicl91AzPSO4QmteqXI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"engines":{"node":">=4.0.0"},"gitHead":"01b7cbe0a9788870dcee99036e6f77df3cddc4ff","scripts":{"docs":"jsdoc2md -t README.hbs index.js > README.md; echo","test":"test-runner test.js"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"repository":{"url":"git+https://github.com/75lb/cli-commands.git","type":"git"},"_npmVersion":"5.6.0","description":"cli-commands","directories":{},"_nodeVersion":"9.4.0","dependencies":{"command-line-args":"^4.0.7","command-line-commands":"^2.0.1"},"devDependencies":{"test-runner":"^0.4.1","jsdoc-to-markdown":"^3.0.4"},"_npmOperationalInternal":{"tmp":"tmp/cli-commands-0.3.3.tgz_1516058494713_0.25754091423004866","host":"s3://npm-registry-packages"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.4.0":{"name":"cli-commands","version":"0.4.0","keywords":["command-line-commands","command-line","command","commands","argv","parse","option","parser"],"author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"license":"MIT","_id":"cli-commands@0.4.0","maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"homepage":"https://github.com/75lb/cli-commands#readme","bugs":{"url":"https://github.com/75lb/cli-commands/issues"},"dist":{"shasum":"75b79bba16733267b71c60def2dd76f3a07cda8a","tarball":"https://registry.npmjs.org/cli-commands/-/cli-commands-0.4.0.tgz","fileCount":7,"integrity":"sha512-zAvJlR7roeMgpUIhMDYATYL90vz+9ffuyPr0+qq4LzcZ0Jq+gM+H1KdYKxerc6U2nhitiDEx79YiJlXdrooEOA==","signatures":[{"sig":"MEQCIHo7Qw0nEAglDU5OMexuV95qwL5GtrCsb8VCKHbNuJoaAiBZ+dD5AEzyU5qQhOLs46aQuo4dgYoOuk1OUmoALFlvyA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7946},"engines":{"node":">=4.0.0"},"gitHead":"02a9915ce2b78a8542f536f953c7954c05e9d457","scripts":{"docs":"jsdoc2md -t README.hbs index.js > README.md; echo","test":"test-runner test.js"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"repository":{"url":"git+https://github.com/75lb/cli-commands.git","type":"git"},"_npmVersion":"5.8.0","description":"A convention for building command-driven CLI apps","directories":{},"_nodeVersion":"9.11.1","dependencies":{"command-line-args":"^5.0.2","command-line-commands":"^2.0.1"},"_hasShrinkwrap":false,"devDependencies":{"test-runner":"^0.5.0","jsdoc-to-markdown":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/cli-commands_0.4.0_1523441318021_0.6512320203926283","host":"s3://npm-registry-packages"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."}},"time":{"created":"2016-10-23T10:29:54.853Z","modified":"2026-03-02T17:09:01.226Z","0.0.0":"2016-10-23T10:29:54.853Z","0.0.1":"2016-10-23T11:50:43.261Z","0.1.0":"2016-10-23T18:19:58.563Z","0.2.0":"2017-01-16T21:54:26.700Z","0.2.1":"2017-03-06T10:12:52.470Z","0.3.0":"2017-06-06T19:56:44.059Z","0.3.1":"2017-06-06T20:01:19.915Z","0.3.2":"2017-06-10T21:25:40.490Z","0.3.3":"2018-01-15T23:21:35.698Z","0.4.0":"2018-04-11T10:08:38.103Z"},"bugs":{"url":"https://github.com/75lb/cli-commands/issues"},"author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"license":"MIT","homepage":"https://github.com/75lb/cli-commands#readme","keywords":["command-line-commands","command-line","command","commands","argv","parse","option","parser"],"repository":{"url":"git+https://github.com/75lb/cli-commands.git","type":"git"},"description":"A convention for building command-driven CLI apps","maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"readme":"[![view on npm](https://img.shields.io/npm/v/cli-commands.svg)](https://www.npmjs.org/package/cli-commands)\n[![npm module downloads](https://img.shields.io/npm/dt/cli-commands.svg)](https://www.npmjs.org/package/cli-commands)\n[![Build Status](https://travis-ci.org/75lb/cli-commands.svg?branch=master)](https://travis-ci.org/75lb/cli-commands)\n[![Dependency Status](https://david-dm.org/75lb/cli-commands.svg)](https://david-dm.org/75lb/cli-commands)\n[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](https://github.com/feross/standard)\n\n# cli-commands\n\nA convention for building command-driven CLI apps.\n\n## Synopsis\n\n```js\nconst CliCommands = require('cli-commands')\n\nconst validCommands = [\n  { name: null },\n  { name: 'show', command: require('./command/show').create() },\n  { name: 'serve', command: require('./command/serve').create() },\n  { name: 'help', command: require('./command/help').create() }\n]\n\nconst cliCommands = new CliCommands(validCommands)\n```\n\nWhere each command looks something like this:\n\n```js\nclass ShowCommand {\n  optionDefinitions () {\n    /* command has a --help option */\n    return [\n      { name: 'help', type: Boolean, alias: 'h' }\n    ]\n  }\n  description () { return 'Print some information.' }\n  usage () {\n    return [\n      { header: 'Options', optionList: this.optionDefinitions() }\n    ]\n  }\n  cliView (data) {\n    return JSON.stringify(data, null, '  ')\n  }\n  execute (options) {\n    // do something sync or async\n  }\n  static create () {\n    return new this(...arguments)\n  }\n}\n```\n\n# API Reference\n\n<a name=\"module_cli-commands\"></a>\n\n## cli-commands\n<a name=\"exp_module_cli-commands--Commands\"></a>\n\n### Commands ⏏\n**Kind**: Exported class  \n\n* * *\n\n&copy; 2016-18 Lloyd Brookes \\<75pound@gmail.com\\>. Documented by [jsdoc-to-markdown](https://github.com/jsdoc2md/jsdoc-to-markdown).\n","readmeFilename":"README.md"}