{"name":"parse-help","version":"0.1.0","description":"Parse CLI help output","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/parse-help"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["parse","help","cli","argv","command-line","man","flags","arguments","alias","aliases","short"],"dependencies":{"execall":"^1.0.0"},"devDependencies":{"ava":"*","xo":"*"},"gitHead":"296d3a446e16523df7cbe7896f86de2b268b524c","bugs":{"url":"https://github.com/sindresorhus/parse-help/issues"},"homepage":"https://github.com/sindresorhus/parse-help","_id":"parse-help@0.1.0","_shasum":"37d7bf20df9e027149f5baba415a6eeb7ee000cb","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.4","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"37d7bf20df9e027149f5baba415a6eeb7ee000cb","tarball":"http://registry-npm.ywwl.com/parse-help/download/parse-help-0.1.0.tgz","integrity":"sha512-QDWGq2veECKwOsxT9IkBbRVrTy87FBPnsGRZQ0QBp6+yD54h6kfqMPpxV8X7o4RdumSwJma2vifz2KDJEUO80A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCGwRtEDfbmbZh8hRfRwt6+E0UqR4slgdR/g8CoRMIuAgIhAPbZ1QkdDf83EZHa7mWls/nYYz7Zv8X57wBGW6BR/8M5"}],"size":1860,"noattachment":false,"key":"/parse-help/-/parse-help-0.1.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"readme":"# parse-help\n\n> Parse CLI help output\n\n## Install\n\n```\n$ npm install parse-help\n```\n\n## Usage\n\n```js\nimport parseHelp from 'parse-help';\n\nconst help = `\n\tUsage\n\t  $ unicorn <name>\n\n\tOptions\n\t  --rainbow    Lorem ipsum dolor sit amet\n\t  -m, --magic  Aenean commodo ligula eget dolor\n\t  --pony       Nullam dictum felis eu pede\n\t  -c, --color  Donec quam felis\n\n\tExamples\n\t  $ unicorn Peachy\n\t  $ unicorn Sparkle --rainbow --magic\n`;\n\nparseHelp(help);\n/*\n{\n\tflags: {\n\t\trainbow: {\n\t\t\tdescription: 'Lorem ipsum dolor sit amet'\n\t\t},\n\t\tmagic: {\n\t\t\talias: 'm',\n\t\t\tdescription: 'Aenean commodo ligula eget dolor'\n\t\t},\n\t\tpony: {\n\t\t\tdescription: 'Nullam dictum felis eu pede'\n\t\t},\n\t\tcolor: {\n\t\t\talias: 'c',\n\t\t\tdescription: 'Donec quam felis'\n\t\t}\n\t},\n\taliases: {\n\t\tm: 'magic',\n\t\tc: 'color'\n\t}\n}\n*/\n```\n\n## Related\n\n- [aliases](https://github.com/sindresorhus/aliases) - Parse flag aliases in CLI help output\n","publish_time":1451499803111,"_cnpm_publish_time":1451499803111,"dist-tags":{"latest":"2.0.0"}}