{"maintainers":[{"name":"anonymous","email":"jane@cpan.org"}],"keywords":["sendak","cli","options","wrapper","nopt","usage"],"dist-tags":{"latest":"0.0.10"},"author":{"name":"Jane Arc","email":"jane@cpan.org","url":"http://github.com/janearc"},"description":"A command-line parser/usage generator wrapping nopt","readme":"sendak-usage\n====\n\nIt became clear after writing the bulk of Sendak's command-line components\nthat a common \"header\" accompanied each task that included the command-line\noptions, their long- and short- arguments, defaults, and descriptions, from\nwhich `nopt-usage` would generate a \"usage\" statement and `nopt` would do the\nactual parsedown into a hash.\n\nBut this was big and sprawling and when @konklone said to me that he uses\n`minimist`, I was peeved because I wanted to be able to switch and realised I\nhad coded myself into this `nopt` and `nopt-usage`-shaped corner where I could\nnot just forklift in `minimist` if I wanted to.\n\nAccordingly I wrote this tiny package to abstract away the command-line parser\nI am using with usage stuff into a single hash so that I am not dependent on\nthe vagaries of other packages (ahem, looking at you, `nopt-usage`&hellip;)\nthat may or may not be actually maintained.\n\nIt is published here primarily so that Sendak can require it, but you should\nfeel comfortable that it will continue to be maintained for at least as long\nas Sendak is if it is useful to you.\n\nUsage\n====\n\nFrom the [original issue](https://github.com/18F/Sendak/issues/38):\n\n```\nvar parsed = require( 'sendak-usage' ).parse( {\n  // This is a full argument declaration\n  //\n  'help': {\n    'long-args': [ 'help', 'halp' ],\n    'description': 'sets the helpful bit',\n    'short-args': [ 'h' ],\n    'default': false\n    'type': [ Boolean ]\n  },\n  // But all you need to do is specify the type of argument you want.\n  //\n  'long-arg-name': { 'type': [ Boolean ] }\n} );\n```\n\nAuthor\n====\n\n[@avriette](https://github.com/avriette), jane.avriette@gsa.gov\n","repository":{"type":"git","url":"https://github.com/18F/sendak-usage"},"bugs":{"url":"https://github.com/18F/sendak-usage/issues"},"license":"CC0-1.0","versions":{"0.0.1":{"name":"sendak-usage","version":"0.0.1","description":"A command-line parser/usage generator wrapping nopt","main":"lib/sendak-usage.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/18F/sendak-usage"},"keywords":["sendak","cli","options","wrapper","nopt","usage"],"dependencies":{"nopt":"*","nopt-usage":"*","mocha":"*","chai":"*"},"author":{"name":"Jane Avriette","email":"jane@cpan.org","url":"http://github.com/avriette"},"license":"CC0-1.0","bugs":{"url":"https://github.com/18F/sendak-usage/issues"},"homepage":"https://github.com/18F/sendak-usage","gitHead":"b99a19557e6ab31623f2f9b81a1831ff2bc1f0da","_id":"sendak-usage@0.0.1","_shasum":"54770ff637e41efbb56c84340c9ccbabb91a3a9b","_from":".","_npmVersion":"2.0.0-alpha-5","_npmUser":{"name":"anonymous","email":"jane@cpan.org"},"maintainers":[{"name":"anonymous","email":"jane@cpan.org"}],"dist":{"shasum":"54770ff637e41efbb56c84340c9ccbabb91a3a9b","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/sendak-usage/-/sendak-usage-0.0.1.tgz","integrity":"sha512-FtH4gh5xwpXR251H7gRn6Btx7Wu2de8UFhx7rkKJYE3ztQJ50r1J8dJ73PVkIDmLqO0F32s+/9zDzo10ApJsCQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFWOEHGm8wJ6gQ9Nn5zgzZhzA7CtU2fncOpwVf9uNSCtAiAUkL3RLts/V9AIeYzkvGPEtPwH5UKlU+S8DCAyizJKVQ=="}]}},"0.0.2":{"name":"sendak-usage","version":"0.0.2","description":"A command-line parser/usage generator wrapping nopt","main":"lib/sendak-usage.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/18F/sendak-usage"},"keywords":["sendak","cli","options","wrapper","nopt","usage"],"dependencies":{"nopt":"*","nopt-usage":"*","mocha":"*","chai":"*"},"author":{"name":"Jane Avriette","email":"jane@cpan.org","url":"http://github.com/avriette"},"license":"CC0-1.0","bugs":{"url":"https://github.com/18F/sendak-usage/issues"},"homepage":"https://github.com/18F/sendak-usage","gitHead":"8dc607460e4c892d437aab0f77c7bffaa0315b35","_id":"sendak-usage@0.0.2","_shasum":"7face9f474257a7a71c7347c7131bee00509d6cb","_from":".","_npmVersion":"2.0.0-alpha-5","_npmUser":{"name":"anonymous","email":"jane@cpan.org"},"maintainers":[{"name":"anonymous","email":"jane@cpan.org"}],"dist":{"shasum":"7face9f474257a7a71c7347c7131bee00509d6cb","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/sendak-usage/-/sendak-usage-0.0.2.tgz","integrity":"sha512-IcFadu85L/6Xql5mzXpBHYy3zU9yfU5m8JA6uXp33qDc8I08dVadmxZ829b4kPwdImcOoJIfvwZySb6sfWCb6w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCKCZAjsWEfvxrEmT5Rm65h1gk3m/EvDPxaKfkqkz7i+wIgKImhCDcF/qqWXXbewZJKESPMZ8j7M6JN/JXlaIjcBN4="}]}},"0.0.3":{"name":"sendak-usage","version":"0.0.3","description":"A command-line parser/usage generator wrapping nopt","main":"lib/sendak-usage.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/18F/sendak-usage"},"keywords":["sendak","cli","options","wrapper","nopt","usage"],"dependencies":{"nopt":"*","nopt-usage":"*","mocha":"*","chai":"*"},"author":{"name":"Jane Avriette","email":"jane@cpan.org","url":"http://github.com/avriette"},"license":"CC0-1.0","bugs":{"url":"https://github.com/18F/sendak-usage/issues"},"homepage":"https://github.com/18F/sendak-usage","gitHead":"0e09dd8bb31f8545bea4bf6b3e5ec45531079adc","_id":"sendak-usage@0.0.3","_shasum":"d99690699c20e716a8e484c0a35eaa2683fa9aba","_from":".","_npmVersion":"2.0.0-alpha-5","_npmUser":{"name":"anonymous","email":"jane@cpan.org"},"maintainers":[{"name":"anonymous","email":"jane@cpan.org"}],"dist":{"shasum":"d99690699c20e716a8e484c0a35eaa2683fa9aba","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/sendak-usage/-/sendak-usage-0.0.3.tgz","integrity":"sha512-DOzAsY6mVcqaKjiD2B6uXhcNbW+ZzcWWX7EN5Vds3tnCiwgbz3UTfNYntrvdZpQWtQW4mwglfc5lirsJ+/AOcg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAEROa1np8lgh71zoyHhBd2HX8LxNu7S6dPSyzb7YpG4AiBTYAIgSBikeQkgYrhnOovQ7h0bRLOEEjaOMVyuHqOUUA=="}]}},"0.0.4":{"name":"sendak-usage","version":"0.0.4","description":"A command-line parser/usage generator wrapping nopt","main":"lib/sendak-usage.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/18F/sendak-usage"},"keywords":["sendak","cli","options","wrapper","nopt","usage"],"dependencies":{"nopt":"*","nopt-usage":"*","mocha":"*","chai":"*"},"author":{"name":"Jane Avriette","email":"jane@cpan.org","url":"http://github.com/avriette"},"license":"CC0-1.0","bugs":{"url":"https://github.com/18F/sendak-usage/issues"},"homepage":"https://github.com/18F/sendak-usage","gitHead":"5d199dc4395f08667e3675574c9c4bbaf99d58b9","_id":"sendak-usage@0.0.4","_shasum":"7b1d9a5d0609e81aeca2ddc7b8b081779921617d","_from":".","_npmVersion":"2.0.0-alpha-5","_npmUser":{"name":"anonymous","email":"jane@cpan.org"},"maintainers":[{"name":"anonymous","email":"jane@cpan.org"}],"dist":{"shasum":"7b1d9a5d0609e81aeca2ddc7b8b081779921617d","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/sendak-usage/-/sendak-usage-0.0.4.tgz","integrity":"sha512-17ck30trcKWn61UdP49iYQLEA7svlerMsF6o196R0b9aWLMFT1DfJoWGtH993d2gPAAeKrrFwp1hQ6KgVazuPA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDkmXnFB5g+yUBxVLV/fXA4ytwvNEP1FbznsmfGdZU/XQIgV2KMozicJnG/Z5R8Aay8z2dZyIrpD8wPIGkV2VR24ic="}]}},"0.0.5":{"name":"sendak-usage","version":"0.0.5","description":"A command-line parser/usage generator wrapping nopt","main":"lib/sendak-usage.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/18F/sendak-usage"},"keywords":["sendak","cli","options","wrapper","nopt","usage"],"dependencies":{"nopt":"*","mocha":"*","chai":"*"},"author":{"name":"Jane Avriette","email":"jane@cpan.org","url":"http://github.com/avriette"},"license":"CC0-1.0","bugs":{"url":"https://github.com/18F/sendak-usage/issues"},"homepage":"https://github.com/18F/sendak-usage","gitHead":"90affb741a68eb0ecb109be4d763fd0a9d7ddf82","_id":"sendak-usage@0.0.5","_shasum":"baf9e4993ec41a9bd9eecdda735c56b3ddd94e3f","_from":".","_npmVersion":"2.0.0-alpha-5","_npmUser":{"name":"anonymous","email":"jane@cpan.org"},"maintainers":[{"name":"anonymous","email":"jane@cpan.org"}],"dist":{"shasum":"baf9e4993ec41a9bd9eecdda735c56b3ddd94e3f","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/sendak-usage/-/sendak-usage-0.0.5.tgz","integrity":"sha512-UxgzAL/iHZgcs/7l8V7OA/M7gmgDvXGb+hf4CKEXYKdXiNITcJDxQwcXJ3kVvqnVvk7jdA5ZIiF698VxQp69Tg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCDTHojs2a+TEEYfx4kBLzAQVLJsBfSycbCJ9iPXShwGwIhAMMYTyL2XQ+CYj0JEZIquS4Z34DmAIgenljIgtW3pKnf"}]}},"0.0.6":{"name":"sendak-usage","version":"0.0.6","description":"A command-line parser/usage generator wrapping nopt","main":"lib/sendak-usage.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/18F/sendak-usage"},"keywords":["sendak","cli","options","wrapper","nopt","usage"],"dependencies":{"nopt":"*","mocha":"*","chai":"*"},"author":{"name":"Jane Avriette","email":"jane@cpan.org","url":"http://github.com/avriette"},"license":"CC0-1.0","bugs":{"url":"https://github.com/18F/sendak-usage/issues"},"homepage":"https://github.com/18F/sendak-usage","gitHead":"d21b0d370de27a470e086c2d601a1c73212286f0","_id":"sendak-usage@0.0.6","_shasum":"7b879d6942bda0b95423778bdf04e7e0cb8f96be","_from":".","_npmVersion":"2.0.0-alpha-5","_npmUser":{"name":"anonymous","email":"jane@cpan.org"},"maintainers":[{"name":"anonymous","email":"jane@cpan.org"}],"dist":{"shasum":"7b879d6942bda0b95423778bdf04e7e0cb8f96be","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/sendak-usage/-/sendak-usage-0.0.6.tgz","integrity":"sha512-rxJ7WgvJBQ5eQ7TtA5UmHVm2N93OEW1iLxwMRi9PTAaCXmjdXIPbYJNL2oNbH31dq5Fb6RVACafBykl2LvsG0A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCppFeQ5gIX7S1Rd3K/WZ9hbPIzS1mUnh9knjtgV4HDCQIgBDmaasu1MIsMAWIXpcoKBi632m56x6L5XYB2lVJJWCw="}]}},"0.0.8":{"name":"sendak-usage","version":"0.0.8","description":"A command-line parser/usage generator wrapping nopt","main":"lib/sendak-usage.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/18F/sendak-usage"},"keywords":["sendak","cli","options","wrapper","nopt","usage"],"dependencies":{"nopt":"*","mocha":"*","log4js":"*","chai":"*"},"author":{"name":"Jane Arc","email":"jane@cpan.org","url":"http://github.com/janearc"},"license":"CC0-1.0","bugs":{"url":"https://github.com/18F/sendak-usage/issues"},"homepage":"https://github.com/18F/sendak-usage","gitHead":"d839aa32103c9fc80e11365784b86d0b5a9cf767","_id":"sendak-usage@0.0.8","_shasum":"a6625f1cd74ff183cffcc5c42b931745355c6aac","_from":".","_npmVersion":"2.0.0-alpha-5","_npmUser":{"name":"anonymous","email":"jane@cpan.org"},"maintainers":[{"name":"anonymous","email":"jane@cpan.org"}],"dist":{"shasum":"a6625f1cd74ff183cffcc5c42b931745355c6aac","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/sendak-usage/-/sendak-usage-0.0.8.tgz","integrity":"sha512-0ysQg6pkDIK4U1zqcrJ0W1D9MgN0q3mZQiXHO1n7u5WPnL0l4G4Q2RTJCN7sWl6dZcmYKGh2AnSqO9MwIop7EQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGfoVgGv0IMEkG0e5PkEfZfo/yGaJTrlOlXwJ5/KH4jfAiEAm3uprE9Ie6k2g8TFCoXh5xIG15e5oEA99T1CqGiA7SA="}]}},"0.0.9":{"name":"sendak-usage","version":"0.0.9","description":"A command-line parser/usage generator wrapping nopt","main":"lib/sendak-usage.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/18F/sendak-usage"},"keywords":["sendak","cli","options","wrapper","nopt","usage"],"dependencies":{"minimist":"*","mocha":"*","log4js":"*","chai":"*"},"author":{"name":"Jane Arc","email":"jane@cpan.org","url":"http://github.com/janearc"},"license":"CC0-1.0","bugs":{"url":"https://github.com/18F/sendak-usage/issues"},"homepage":"https://github.com/18F/sendak-usage","gitHead":"701e8bfc900372a0a65723992132a639919a6138","_id":"sendak-usage@0.0.9","_shasum":"2a02d6f7c448a74e7ab3f46996f8a13540bcc7b0","_from":".","_npmVersion":"2.0.0-alpha-5","_npmUser":{"name":"anonymous","email":"jane@cpan.org"},"maintainers":[{"name":"anonymous","email":"jane@cpan.org"}],"dist":{"shasum":"2a02d6f7c448a74e7ab3f46996f8a13540bcc7b0","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/sendak-usage/-/sendak-usage-0.0.9.tgz","integrity":"sha512-0AifI7/m3v7hNT54EXgzdQ7ZG9Wg23gSPwm8faXsQkrl+H9YnInLdhnOkwGcLER17gW5aKA81uLMd7LFnJIr+Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCP+tR5PdVmUuHO6iPPGb7ToV6vM1DYBscfvubaDt1VmgIgEN178dgmOiPssQN0tEyfMxviY1Hdx1QAcTnh1GZzsH8="}]}},"0.0.10":{"name":"sendak-usage","version":"0.0.10","description":"A command-line parser/usage generator wrapping nopt","main":"lib/sendak-usage.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/18F/sendak-usage"},"keywords":["sendak","cli","options","wrapper","nopt","usage"],"dependencies":{"minimist":"*","mocha":"*","log4js":"*","chai":"*"},"author":{"name":"Jane Arc","email":"jane@cpan.org","url":"http://github.com/janearc"},"license":"CC0-1.0","bugs":{"url":"https://github.com/18F/sendak-usage/issues"},"homepage":"https://github.com/18F/sendak-usage","gitHead":"af24cd8030d5d21f07311d33775f5354dea62029","_id":"sendak-usage@0.0.10","_shasum":"43c496f55fd11077741fd6aba1876d482fe3e116","_from":".","_npmVersion":"2.0.0-alpha-5","_npmUser":{"name":"anonymous","email":"jane@cpan.org"},"maintainers":[{"name":"anonymous","email":"jane@cpan.org"}],"dist":{"shasum":"43c496f55fd11077741fd6aba1876d482fe3e116","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/sendak-usage/-/sendak-usage-0.0.10.tgz","integrity":"sha512-1FnIG0SEfwKnHqgNYTvhuVV5gMTWVvexkSqgCXBsIMnEV/rPX/vD149PSIoE8laRSC57G3aE46KB0xEGlYGUtQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEj4lfzDwERr/ZvxnotDeujUcTK+7B1N8mzTg8tdd2leAiApzAtxGyIfngrdPtRYfkkbItScriOkSRpJfqbyeneI4Q=="}]}}},"name":"sendak-usage","time":{"modified":"2022-06-26T17:35:24.602Z","created":"2014-11-16T17:03:07.994Z","0.0.1":"2014-11-16T17:03:07.994Z","0.0.2":"2014-11-17T17:22:18.226Z","0.0.3":"2014-11-28T18:51:57.298Z","0.0.4":"2014-11-29T21:59:32.138Z","0.0.5":"2014-11-29T22:02:05.438Z","0.0.6":"2014-11-29T22:10:32.422Z","0.0.8":"2015-02-03T23:04:20.431Z","0.0.9":"2015-02-05T20:00:30.606Z","0.0.10":"2015-02-06T00:04:13.808Z"},"readmeFilename":"README.md","homepage":"https://github.com/18F/sendak-usage"}