{"_id":"clap","_rev":"1952762","name":"clap","description":"Command line argument parser","dist-tags":{"latest":"3.0.0"},"maintainers":[{"name":"lahmatiy","email":"rdvornov@gmail.com"}],"time":{"modified":"2021-12-12T21:51:14.000Z","created":"2014-02-10T19:50:34.094Z","3.0.0":"2021-12-12T21:49:21.433Z","3.0.0-beta.1":"2020-02-14T13:14:26.892Z","2.0.1":"2019-12-16T21:37:51.131Z","2.0.0":"2019-12-09T00:03:00.952Z","1.2.3":"2017-09-20T10:15:04.366Z","1.2.2":"2017-09-18T11:40:44.257Z","1.2.1":"2017-09-18T08:59:59.197Z","1.2.0":"2017-06-13T15:17:16.915Z","1.1.3":"2017-03-16T22:07:31.175Z","1.1.2":"2016-12-03T11:47:08.462Z","1.1.1":"2016-05-10T11:38:18.810Z","1.1.0":"2016-03-19T20:39:43.628Z","1.0.10":"2015-12-16T00:09:42.482Z","1.0.9":"2015-11-09T14:17:36.736Z","1.0.8":"2015-08-06T09:23:29.149Z","1.0.7":"2015-08-01T22:10:46.778Z","1.0.6":"2015-07-22T17:56:40.398Z","1.0.5":"2015-03-25T13:30:05.236Z","1.0.4":"2014-11-21T07:23:26.862Z","1.0.3":"2014-11-19T13:43:30.336Z","1.0.2":"2014-11-19T13:18:04.177Z","1.0.1":"2014-10-27T23:15:49.680Z","1.0.0":"2014-10-11T20:04:49.108Z","1.0.0-beta2":"2014-07-25T13:45:45.664Z","1.0.0-beta":"2014-07-14T09:45:04.953Z","1.0.0-alpha.2":"2014-02-22T01:40:48.116Z","1.0.0-alpha":"2014-02-10T19:50:34.094Z"},"users":{"mavrin":true},"author":{"name":"Roman Dvornov","email":"rdvornov@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/lahmatiy/clap.git"},"versions":{"3.0.0":{"name":"clap","title":"Command line argument parser","description":"Command line argument parser","author":{"name":"Roman Dvornov","email":"rdvornov@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/lahmatiy/clap.git"},"license":"MIT","version":"3.0.0","keywords":["cli","command","option","argument","completion"],"type":"module","main":"lib/index.js","exports":{".":{"import":"./lib/index.js","require":"./cjs/index.cjs"},"./package.json":"./package.json"},"engines":{"node":"^12.20.0 || ^14.13.0 || >=15.0.0","npm":">=7.0.0"},"dependencies":{"ansi-colors":"^4.1.1"},"devDependencies":{"c8":"^7.10.0","eslint":"^8.4.1","mocha":"^9.1.3","rollup":"^2.61.1","test-console":"^1.1.0"},"scripts":{"lint":"eslint lib test","lint-and-test":"npm run lint && npm test","test":"mocha --reporter ${REPORTER:-progress}","test:cjs":"mocha cjs-test --reporter ${REPORTER:-progress}","build":"npm run esm-to-cjs","build-and-test":"npm run esm-to-cjs-and-test","esm-to-cjs":"node scripts/esm-to-cjs","esm-to-cjs-and-test":"npm run esm-to-cjs && npm run test:cjs","coverage":"c8 --reporter=lcovonly npm test","prepublishOnly":"npm run lint-and-test && npm run build-and-test"},"gitHead":"d77cbe80a7c53c551e283e4cc9f4e02648d3130c","bugs":{"url":"https://github.com/lahmatiy/clap/issues"},"homepage":"https://github.com/lahmatiy/clap#readme","_id":"clap@3.0.0","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"shasum":"e2bdad1f71d22eae72fd7f9ca40f88db7a842ea7","size":8881,"noattachment":false,"key":"/clap/-/clap-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/clap/download/clap-3.0.0.tgz"},"_npmUser":{"name":"lahmatiy","email":"rdvornov@gmail.com"},"directories":{},"maintainers":[{"name":"lahmatiy","email":"rdvornov@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/clap_3.0.0_1639345761254_0.6671868064341377"},"_hasShrinkwrap":false,"publish_time":1639345761433,"_cnpm_publish_time":1639345761433},"3.0.0-beta.1":{"name":"clap","title":"Command line argument parser","description":"Command line argument parser","author":{"name":"Roman Dvornov","email":"rdvornov@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/lahmatiy/clap.git"},"license":"MIT","version":"3.0.0-beta.1","keywords":["cli","command","option","argument","completion"],"main":"lib/index.js","engines":{"node":">=8.0.0"},"dependencies":{"chalk":"^3.0.0"},"devDependencies":{"coveralls":"^3.0.7","eslint":"^6.5.1","mocha":"^6.2.2","nyc":"^14.1.0","test-console":"^1.1.0"},"scripts":{"lint":"eslint lib test","lint-and-test":"npm run lint && npm test","test":"mocha -R progress","coverage":"nyc npm test","travis":"nyc npm run lint-and-test && npm run coveralls","coveralls":"nyc report --reporter=text-lcov | coveralls"},"gitHead":"e0561432e32bee6463fe063d3b4d8bd1b19b2e69","bugs":{"url":"https://github.com/lahmatiy/clap/issues"},"homepage":"https://github.com/lahmatiy/clap#readme","_id":"clap@3.0.0-beta.1","_nodeVersion":"13.7.0","_npmVersion":"6.13.6","dist":{"shasum":"da2117673ac69acf51154f4783652e04fb359109","size":9377,"noattachment":false,"key":"/clap/-/clap-3.0.0-beta.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/clap/download/clap-3.0.0-beta.1.tgz"},"maintainers":[{"name":"lahmatiy","email":"rdvornov@gmail.com"}],"_npmUser":{"name":"lahmatiy","email":"rdvornov@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/clap_3.0.0-beta.1_1581686066767_0.3873441938980553"},"_hasShrinkwrap":false,"publish_time":1581686066892,"_cnpm_publish_time":1581686066892},"2.0.1":{"name":"clap","title":"Command line argument parser","description":"Command line argument parser","author":{"name":"Roman Dvornov","email":"rdvornov@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/lahmatiy/clap.git"},"license":"MIT","version":"2.0.1","keywords":["cli","command","option","argument","completion"],"main":"lib/index.js","engines":{"node":">=8.0.0"},"dependencies":{"chalk":"^3.0.0"},"devDependencies":{"coveralls":"^3.0.7","eslint":"^6.5.1","mocha":"^6.2.2","nyc":"^14.1.0"},"scripts":{"lint":"eslint lib test","lint-and-test":"npm run lint && npm test","test":"mocha -R progress","coverage":"nyc npm test","travis":"nyc npm run lint-and-test && npm run coveralls","coveralls":"nyc report --reporter=text-lcov | coveralls"},"gitHead":"03d97043d37310f3d13a7a9b2bfd59173303aebb","bugs":{"url":"https://github.com/lahmatiy/clap/issues"},"homepage":"https://github.com/lahmatiy/clap#readme","_id":"clap@2.0.1","_nodeVersion":"13.3.0","_npmVersion":"6.13.0","dist":{"shasum":"9891ca73ad0c3739db51141735e323fd2adbf9c3","size":8508,"noattachment":false,"key":"/clap/-/clap-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/clap/download/clap-2.0.1.tgz"},"maintainers":[{"name":"lahmatiy","email":"rdvornov@gmail.com"}],"_npmUser":{"name":"lahmatiy","email":"rdvornov@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/clap_2.0.1_1576532270969_0.2653639011932254"},"_hasShrinkwrap":false,"publish_time":1576532271131,"_cnpm_publish_time":1576532271131},"2.0.0":{"name":"clap","title":"Command line argument parser","description":"Command line argument parser","author":{"name":"Roman Dvornov","email":"rdvornov@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/lahmatiy/clap.git"},"license":"MIT","version":"2.0.0","keywords":["cli","command","option","argument","completion"],"main":"lib/index.js","engines":{"node":">=8.0.0"},"dependencies":{"chalk":"^3.0.0"},"devDependencies":{"coveralls":"^3.0.7","eslint":"^6.5.1","mocha":"^6.2.2","nyc":"^14.1.0"},"scripts":{"lint":"eslint lib test","lint-and-test":"npm run lint && npm test","test":"mocha -R progress","coverage":"nyc npm test","travis":"nyc npm run lint-and-test && npm run coveralls","coveralls":"nyc report --reporter=text-lcov | coveralls"},"gitHead":"cd9d3b38682668c7e76f4e30270f97d1a71a5a38","bugs":{"url":"https://github.com/lahmatiy/clap/issues"},"homepage":"https://github.com/lahmatiy/clap#readme","_id":"clap@2.0.0","_nodeVersion":"13.3.0","_npmVersion":"6.13.0","dist":{"shasum":"fa5f0b5137a8984087579388e40330d5a6c374b3","size":8520,"noattachment":false,"key":"/clap/-/clap-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/clap/download/clap-2.0.0.tgz"},"maintainers":[{"name":"lahmatiy","email":"rdvornov@gmail.com"}],"_npmUser":{"name":"lahmatiy","email":"rdvornov@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/clap_2.0.0_1575849780833_0.7401565471214604"},"_hasShrinkwrap":false,"publish_time":1575849780952,"_cnpm_publish_time":1575849780952},"1.2.3":{"name":"clap","title":"Command line argument parser","description":"Command line argument parser","author":{"name":"Roman Dvornov","email":"rdvornov@gmail.com"},"license":"MIT","version":"1.2.3","keywords":["cli","command","option","argument","completion"],"homepage":"https://github.com/lahmatiy/clap","repository":{"type":"git","url":"git+https://github.com/lahmatiy/clap.git"},"main":"index.js","files":["index.js","HISTORY.md","LICENSE","README.md"],"engines":{"node":">=0.10.0"},"dependencies":{"chalk":"^1.1.3"},"devDependencies":{"mocha":"^2.4.5"},"scripts":{"test":"mocha test -R spec"},"gitHead":"7fc074cde7eeb43353acad0f0f2b3f09f5c86fdc","bugs":{"url":"https://github.com/lahmatiy/clap/issues"},"_id":"clap@1.2.3","_npmVersion":"5.0.3","_nodeVersion":"8.1.2","_npmUser":{"name":"lahmatiy","email":"rdvornov@gmail.com"},"dist":{"shasum":"4f36745b32008492557f46412d66d50cb99bce51","size":7665,"noattachment":false,"key":"/clap/-/clap-1.2.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/clap/download/clap-1.2.3.tgz"},"maintainers":[{"name":"lahmatiy","email":"rdvornov@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/clap-1.2.3.tgz_1505902503213_0.1086229495704174"},"directories":{},"publish_time":1505902504366,"_hasShrinkwrap":false,"_cnpm_publish_time":1505902504366},"1.2.2":{"name":"clap","title":"Command line argument parser","description":"Command line argument parser","author":{"name":"Roman Dvornov","email":"rdvornov@gmail.com"},"license":"MIT","version":"1.2.2","keywords":["cli","command","option","argument","completion"],"homepage":"https://github.com/lahmatiy/clap","repository":{"type":"git","url":"git+https://github.com/lahmatiy/clap.git"},"main":"index.js","files":["index.js","HISTORY.md","LICENSE","README.md"],"engines":{"node":">=0.10.0"},"dependencies":{"chalk":"^1.1.3"},"devDependencies":{"mocha":"^2.4.5"},"scripts":{"test":"mocha test -R spec"},"gitHead":"29eab58c58984be4e56767177247e8bc4ef426ef","bugs":{"url":"https://github.com/lahmatiy/clap/issues"},"_id":"clap@1.2.2","_shasum":"683f6f93a320794d129386d74b2a1d2d66fede7e","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.3","_npmUser":{"name":"lahmatiy","email":"rdvornov@gmail.com"},"dist":{"shasum":"683f6f93a320794d129386d74b2a1d2d66fede7e","size":7599,"noattachment":false,"key":"/clap/-/clap-1.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/clap/download/clap-1.2.2.tgz"},"maintainers":[{"name":"lahmatiy","email":"rdvornov@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/clap-1.2.2.tgz_1505734843267_0.28382017090916634"},"directories":{},"publish_time":1505734844257,"_cnpm_publish_time":1505734844257,"_hasShrinkwrap":false},"1.2.1":{"name":"clap","title":"Command line argument parser","description":"Command line argument parser","author":{"name":"Roman Dvornov","email":"rdvornov@gmail.com"},"license":"MIT","version":"1.2.1","keywords":["cli","command","option","argument","completion"],"homepage":"https://github.com/lahmatiy/clap","repository":{"type":"git","url":"git+https://github.com/lahmatiy/clap.git"},"main":"index.js","files":["index.js","HISTORY.md","LICENSE","README.md"],"engines":{"node":">=0.10.0"},"dependencies":{"chalk":"^1.1.3"},"devDependencies":{"mocha":"^2.4.5"},"scripts":{"test":"mocha test -R spec"},"gitHead":"cde0388e4217c7ea7a6cdb18829eae0e6da92df4","bugs":{"url":"https://github.com/lahmatiy/clap/issues"},"_id":"clap@1.2.1","_shasum":"254596499f2ac5df14c66f114dcc1414ff9233d0","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.3","_npmUser":{"name":"lahmatiy","email":"rdvornov@gmail.com"},"dist":{"shasum":"254596499f2ac5df14c66f114dcc1414ff9233d0","size":7478,"noattachment":false,"key":"/clap/-/clap-1.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/clap/download/clap-1.2.1.tgz"},"maintainers":[{"name":"lahmatiy","email":"rdvornov@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/clap-1.2.1.tgz_1505725198147_0.9224879792891443"},"directories":{},"publish_time":1505725199197,"_hasShrinkwrap":false,"_cnpm_publish_time":1505725199197},"1.2.0":{"name":"clap","title":"Command line argument parser","description":"Command line argument parser","author":{"name":"Roman Dvornov","email":"rdvornov@gmail.com"},"license":"MIT","version":"1.2.0","keywords":["cli","command","option","argument","completion"],"homepage":"https://github.com/lahmatiy/clap","repository":{"type":"git","url":"git+https://github.com/lahmatiy/clap.git"},"main":"index.js","files":["index.js","HISTORY.md","LICENSE","README.md"],"engines":{"node":">=0.10.0"},"dependencies":{"chalk":"^1.1.3"},"devDependencies":{"mocha":"^2.4.5"},"scripts":{"test":"mocha test -R spec"},"gitHead":"c816fa195378cb319ef8adb53cf8ff34d2a9151e","bugs":{"url":"https://github.com/lahmatiy/clap/issues"},"_id":"clap@1.2.0","_shasum":"59c90fe3e137104746ff19469a27a634ff68c857","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.5.0","_npmUser":{"name":"lahmatiy","email":"rdvornov@gmail.com"},"dist":{"shasum":"59c90fe3e137104746ff19469a27a634ff68c857","size":7458,"noattachment":false,"key":"/clap/-/clap-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/clap/download/clap-1.2.0.tgz"},"maintainers":[{"name":"lahmatiy","email":"rdvornov@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/clap-1.2.0.tgz_1497367035890_0.06831291341222823"},"directories":{},"publish_time":1497367036915,"_cnpm_publish_time":1497367036915,"_hasShrinkwrap":false},"1.1.3":{"name":"clap","title":"Command line argument parser","description":"Command line argument parser","author":{"name":"Roman Dvornov","email":"rdvornov@gmail.com"},"license":"MIT","version":"1.1.3","keywords":["cli","command","option","argument","completion"],"homepage":"https://github.com/lahmatiy/clap","repository":{"type":"git","url":"https://github.com/lahmatiy/clap"},"main":"index.js","files":["index.js","HISTORY.md","LICENSE","README.md"],"engines":{"node":">=0.10.0"},"dependencies":{"chalk":"^1.1.3"},"devDependencies":{"mocha":"^2.4.5"},"scripts":{"test":"mocha test -R spec"},"gitHead":"67728accac8c475cb43b156baea4335ea26bdba5","bugs":{"url":"https://github.com/lahmatiy/clap/issues"},"_id":"clap@1.1.3","_shasum":"b3bd36e93dd4cbfb395a3c26896352445265c05b","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.8.1","_npmUser":{"name":"lahmatiy","email":"rdvornov@gmail.com"},"maintainers":[{"name":"lahmatiy","email":"rdvornov@gmail.com"}],"dist":{"shasum":"b3bd36e93dd4cbfb395a3c26896352445265c05b","size":7443,"noattachment":false,"key":"/clap/-/clap-1.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/clap/download/clap-1.1.3.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/clap-1.1.3.tgz_1489702049005_0.8281386098824441"},"directories":{},"publish_time":1489702051175,"_cnpm_publish_time":1489702051175,"_hasShrinkwrap":false},"1.1.2":{"name":"clap","title":"Command line argument parser","description":"Command line argument parser","author":{"name":"Roman Dvornov","email":"rdvornov@gmail.com"},"license":"MIT","version":"1.1.2","keywords":["cli","command","option","argument","completion"],"homepage":"https://github.com/lahmatiy/clap","repository":{"type":"git","url":"https://github.com/lahmatiy/clap"},"main":"index.js","files":["index.js","HISTORY.md","LICENSE","README.md"],"engines":{"node":">=0.10.0"},"dependencies":{"chalk":"^1.1.3"},"devDependencies":{"mocha":"^2.4.5"},"scripts":{"test":"mocha test -R spec"},"gitHead":"0afc03fd26a2a7eb5bb9f392090afe46353e7ae6","bugs":{"url":"https://github.com/lahmatiy/clap/issues"},"_id":"clap@1.1.2","_shasum":"316545bf22229225a2cecaa6824cd2f56a9709ed","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.8.1","_npmUser":{"name":"lahmatiy","email":"rdvornov@gmail.com"},"maintainers":[{"name":"lahmatiy","email":"rdvornov@gmail.com"}],"dist":{"shasum":"316545bf22229225a2cecaa6824cd2f56a9709ed","size":7396,"noattachment":false,"key":"/clap/-/clap-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/clap/download/clap-1.1.2.tgz"},"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/clap-1.1.2.tgz_1480765627837_0.21811137441545725"},"directories":{},"publish_time":1480765628462,"_cnpm_publish_time":1480765628462,"_hasShrinkwrap":false},"1.1.1":{"name":"clap","title":"Command line argument parser","description":"Command line argument parser","author":{"name":"Roman Dvornov","email":"rdvornov@gmail.com"},"license":"MIT","version":"1.1.1","keywords":["cli","command","option","argument","completion"],"homepage":"https://github.com/lahmatiy/clap","repository":{"type":"git","url":"https://github.com/lahmatiy/clap"},"main":"index.js","files":["index.js","HISTORY.md","LICENSE","README.md"],"engines":{"node":">=0.10.0"},"dependencies":{"chalk":"^1.1.3"},"devDependencies":{"mocha":"^2.4.5"},"scripts":{"test":"mocha test -R spec"},"gitHead":"df36f700f326cce4e46b3422b99ae71154e9e480","bugs":{"url":"https://github.com/lahmatiy/clap/issues"},"_id":"clap@1.1.1","_shasum":"a8a93e0bfb7581ac199c4f001a5525a724ce696d","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"lahmatiy","email":"rdvornov@gmail.com"},"maintainers":[{"name":"lahmatiy","email":"rdvornov@gmail.com"}],"dist":{"shasum":"a8a93e0bfb7581ac199c4f001a5525a724ce696d","size":7380,"noattachment":false,"key":"/clap/-/clap-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/clap/download/clap-1.1.1.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/clap-1.1.1.tgz_1462880296036_0.24203382013365626"},"directories":{},"publish_time":1462880298810,"_cnpm_publish_time":1462880298810,"_hasShrinkwrap":false},"1.1.0":{"name":"clap","title":"Command line argument parser","description":"Command line argument parser","author":{"name":"Roman Dvornov","email":"rdvornov@gmail.com"},"license":"MIT","version":"1.1.0","keywords":["cli","command","option","argument","completion"],"homepage":"https://github.com/lahmatiy/clap","repository":{"type":"git","url":"https://github.com/lahmatiy/clap"},"main":"index.js","files":["index.js","HISTORY.md","LICENSE","README.md"],"engines":{"node":">=0.10.0"},"dependencies":{"chalk":"1.1.1"},"devDependencies":{"mocha":"^2.4.5"},"scripts":{"test":"mocha test -R spec"},"gitHead":"7a702b9b16c77b74d79900967fa437946d230b69","bugs":{"url":"https://github.com/lahmatiy/clap/issues"},"_id":"clap@1.1.0","_shasum":"52a7bdc843667c035e4aba9c0878118343e66299","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"lahmatiy","email":"rdvornov@gmail.com"},"maintainers":[{"name":"lahmatiy","email":"rdvornov@gmail.com"}],"dist":{"shasum":"52a7bdc843667c035e4aba9c0878118343e66299","size":7352,"noattachment":false,"key":"/clap/-/clap-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/clap/download/clap-1.1.0.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/clap-1.1.0.tgz_1458419981100_0.12194007402285933"},"directories":{},"publish_time":1458419983628,"_cnpm_publish_time":1458419983628,"_hasShrinkwrap":false},"1.0.10":{"name":"clap","title":"Command line argument parser","description":"Command line argument parser","author":{"name":"Roman Dvornov","email":"rdvornov@gmail.com"},"license":"MIT","version":"1.0.10","keywords":["cli","command","option","argument","completion"],"homepage":"https://github.com/lahmatiy/clap","repository":{"type":"git","url":"git+https://github.com/lahmatiy/clap.git"},"main":"index","files":["index.js"],"engines":{"node":">=0.10.0"},"dependencies":{"chalk":"1.1.1"},"devDependencies":{"mocha":"~1.17.1"},"scripts":{"test":"mocha test -R spec"},"gitHead":"f241d8f2c672a852475e568d044778d2639a0b55","bugs":{"url":"https://github.com/lahmatiy/clap/issues"},"_id":"clap@1.0.10","_shasum":"4f7a93e144545af85dfd29d92fd974e32548632a","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"lahmatiy","email":"rdvornov@gmail.com"},"maintainers":[{"name":"lahmatiy","email":"rdvornov@gmail.com"}],"dist":{"shasum":"4f7a93e144545af85dfd29d92fd974e32548632a","size":7038,"noattachment":false,"key":"/clap/-/clap-1.0.10.tgz","tarball":"http://registry.cnpm.dingdandao.com/clap/download/clap-1.0.10.tgz"},"directories":{},"publish_time":1450224582482,"_cnpm_publish_time":1450224582482,"_hasShrinkwrap":false},"1.0.9":{"name":"clap","title":"Command line argument parser","description":"Command line argument parser","author":{"name":"Roman Dvornov","email":"rdvornov@gmail.com"},"version":"1.0.9","keywords":["cli","command","option","argument","completion"],"homepage":"https://github.com/lahmatiy/clap","repository":{"type":"git","url":"git+https://github.com/lahmatiy/clap.git"},"main":"index","files":["index.js"],"engines":{"node":">=0.10.0"},"dependencies":{"chalk":"1.1.1"},"devDependencies":{"mocha":"~1.17.1"},"scripts":{"test":"mocha test -R spec"},"gitHead":"12f5a9f300b3f31c94eac9e976f51cfde3317e48","bugs":{"url":"https://github.com/lahmatiy/clap/issues"},"_id":"clap@1.0.9","_shasum":"60b91324c710fed74b0b33bb4c4f33c48b768ecf","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"lahmatiy","email":"rdvornov@gmail.com"},"maintainers":[{"name":"lahmatiy","email":"rdvornov@gmail.com"}],"dist":{"shasum":"60b91324c710fed74b0b33bb4c4f33c48b768ecf","size":6317,"noattachment":false,"key":"/clap/-/clap-1.0.9.tgz","tarball":"http://registry.cnpm.dingdandao.com/clap/download/clap-1.0.9.tgz"},"directories":{},"publish_time":1447078656736,"_cnpm_publish_time":1447078656736,"_hasShrinkwrap":false},"1.0.8":{"name":"clap","title":"Command line argument parser","description":"Command line argument parser","author":{"name":"Roman Dvornov","email":"rdvornov@gmail.com"},"version":"1.0.8","keywords":["cli","command","option","argument","completion"],"homepage":"https://github.com/lahmatiy/clap","repository":{"type":"git","url":"git+https://github.com/lahmatiy/clap.git"},"main":"index","files":["index.js"],"engines":{"node":">=0.10.0"},"dependencies":{"chalk":"1.1.0"},"devDependencies":{"mocha":"~1.17.1"},"scripts":{"test":"mocha test -R spec"},"gitHead":"2de764590f2f7b2e3517c7a34eaafb2097d9685f","bugs":{"url":"https://github.com/lahmatiy/clap/issues"},"_id":"clap@1.0.8","_shasum":"8180c95394bc4963c3ff4f01dd5942c67973e98a","_from":".","_npmVersion":"2.13.1","_nodeVersion":"0.10.38","_npmUser":{"name":"lahmatiy","email":"rdvornov@gmail.com"},"maintainers":[{"name":"lahmatiy","email":"rdvornov@gmail.com"}],"dist":{"shasum":"8180c95394bc4963c3ff4f01dd5942c67973e98a","size":6313,"noattachment":false,"key":"/clap/-/clap-1.0.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/clap/download/clap-1.0.8.tgz"},"directories":{},"publish_time":1438853009149,"_cnpm_publish_time":1438853009149,"_hasShrinkwrap":false},"1.0.7":{"name":"clap","title":"Command line argument parser","description":"Command line argument parser","author":{"name":"Roman Dvornov","email":"rdvornov@gmail.com"},"version":"1.0.7","keywords":["cli","command","option","argument","completion"],"homepage":"https://github.com/lahmatiy/clap","repository":{"type":"git","url":"git+https://github.com/lahmatiy/clap.git"},"main":"index","files":["index.js"],"engines":{"node":">=0.10.0"},"dependencies":{"chalk":"1.1.0"},"devDependencies":{"mocha":"~1.17.1"},"scripts":{"test":"mocha test -R spec"},"gitHead":"958c751728394f9f1a89c79de7ff4bed7ee21f09","bugs":{"url":"https://github.com/lahmatiy/clap/issues"},"_id":"clap@1.0.7","_shasum":"500786d26a09042b6ff4353f56b2977d86707f4a","_from":".","_npmVersion":"2.13.1","_nodeVersion":"0.10.38","_npmUser":{"name":"lahmatiy","email":"rdvornov@gmail.com"},"maintainers":[{"name":"lahmatiy","email":"rdvornov@gmail.com"}],"dist":{"shasum":"500786d26a09042b6ff4353f56b2977d86707f4a","size":6187,"noattachment":false,"key":"/clap/-/clap-1.0.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/clap/download/clap-1.0.7.tgz"},"directories":{},"publish_time":1438467046778,"_cnpm_publish_time":1438467046778,"_hasShrinkwrap":false},"1.0.6":{"name":"clap","title":"Command line argument parser","description":"Command line argument parser","author":{"name":"Roman Dvornov","email":"rdvornov@gmail.com"},"version":"1.0.6","keywords":["cli","command","option","argument","completion"],"homepage":"https://github.com/lahmatiy/clap","repository":{"type":"git","url":"https://github.com/lahmatiy/clap.git"},"main":"index","files":["index.js"],"engines":{"node":">=0.10.0"},"dependencies":{"chalk":"1.1.0"},"devDependencies":{"mocha":"~1.17.1"},"scripts":{"test":"mocha test -R spec"},"gitHead":"5cd9671987f33dd0cf75688f6ef5f4ce77302060","bugs":{"url":"https://github.com/lahmatiy/clap/issues"},"_id":"clap@1.0.6","_shasum":"f80f08c81db628cb45619709ad668c005966a657","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"lahmatiy","email":"rdvornov@gmail.com"},"maintainers":[{"name":"lahmatiy","email":"rdvornov@gmail.com"}],"dist":{"shasum":"f80f08c81db628cb45619709ad668c005966a657","size":6150,"noattachment":false,"key":"/clap/-/clap-1.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/clap/download/clap-1.0.6.tgz"},"directories":{},"publish_time":1437587800398,"_cnpm_publish_time":1437587800398,"_hasShrinkwrap":false},"1.0.5":{"name":"clap","title":"Command line argument parser","description":"Command line argument parser","author":{"name":"Roman Dvornov","email":"rdvornov@gmail.com"},"version":"1.0.5","keywords":["cli","command","option","argument","completion"],"homepage":"https://github.com/lahmatiy/clap","repository":{"type":"git","url":"https://github.com/lahmatiy/clap.git"},"main":"index","files":["index.js"],"engines":{"node":">=0.10.0"},"dependencies":{"chalk":"0.5.1"},"devDependencies":{"mocha":"~1.17.1"},"scripts":{"test":"mocha test -R spec"},"gitHead":"677891e8c8ca9977c20c8578eea0b2302961c003","bugs":{"url":"https://github.com/lahmatiy/clap/issues"},"_id":"clap@1.0.5","_shasum":"a0cd1a3116a414c72ae5484aa412f2f38ad8b70a","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"lahmatiy","email":"rdvornov@gmail.com"},"maintainers":[{"name":"lahmatiy","email":"rdvornov@gmail.com"}],"dist":{"shasum":"a0cd1a3116a414c72ae5484aa412f2f38ad8b70a","size":5971,"noattachment":false,"key":"/clap/-/clap-1.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/clap/download/clap-1.0.5.tgz"},"directories":{},"publish_time":1427290205236,"_cnpm_publish_time":1427290205236,"_hasShrinkwrap":false},"1.0.4":{"name":"clap","title":"Command line argument parser","description":"Command line argument parser","author":{"name":"Roman Dvornov","email":"rdvornov@gmail.com"},"version":"1.0.4","keywords":["cli","command","option","argument","completion"],"homepage":"https://github.com/lahmatiy/clap","repository":{"type":"git","url":"https://github.com/lahmatiy/clap.git"},"main":"index","files":["index.js"],"engines":{"node":">=0.10.0"},"dependencies":{"chalk":"0.5.1"},"devDependencies":{"mocha":"~1.17.1"},"scripts":{"test":"mocha test -R spec"},"gitHead":"193b1bd9221f1b18bc64536058143a66a7938a53","bugs":{"url":"https://github.com/lahmatiy/clap/issues"},"_id":"clap@1.0.4","_shasum":"abf2358b54e2ff2e471e47ddaafcee80735a8eaf","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"lahmatiy","email":"rdvornov@gmail.com"},"maintainers":[{"name":"lahmatiy","email":"rdvornov@gmail.com"}],"dist":{"shasum":"abf2358b54e2ff2e471e47ddaafcee80735a8eaf","size":5970,"noattachment":false,"key":"/clap/-/clap-1.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/clap/download/clap-1.0.4.tgz"},"directories":{},"publish_time":1416554606862,"_cnpm_publish_time":1416554606862,"_hasShrinkwrap":false},"1.0.3":{"name":"clap","title":"Command line argument parser","description":"Command line argument parser","author":{"name":"Roman Dvornov","email":"rdvornov@gmail.com"},"version":"1.0.3","keywords":["cli","command","option","argument","completion"],"homepage":"https://github.com/lahmatiy/clap","repository":{"type":"git","url":"https://github.com/lahmatiy/clap.git"},"main":"index","files":["index.js"],"engines":{"node":">=0.10.0"},"dependencies":{"chalk":"0.5.1"},"devDependencies":{"mocha":"~1.17.1"},"scripts":{"test":"mocha test -R spec"},"gitHead":"b03749b9412ded34828880860968950dfb736bb6","bugs":{"url":"https://github.com/lahmatiy/clap/issues"},"_id":"clap@1.0.3","_shasum":"14c7930dc134a3881a5f792f12070475be3d4913","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"lahmatiy","email":"rdvornov@gmail.com"},"maintainers":[{"name":"lahmatiy","email":"rdvornov@gmail.com"}],"dist":{"shasum":"14c7930dc134a3881a5f792f12070475be3d4913","size":5881,"noattachment":false,"key":"/clap/-/clap-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/clap/download/clap-1.0.3.tgz"},"directories":{},"publish_time":1416404610336,"_cnpm_publish_time":1416404610336,"_hasShrinkwrap":false},"1.0.2":{"name":"clap","title":"Command line argument parser","description":"Command line argument parser","author":{"name":"Roman Dvornov","email":"rdvornov@gmail.com"},"version":"1.0.2","keywords":["cli","command","option","argument","completion"],"homepage":"https://github.com/lahmatiy/clap","repository":{"type":"git","url":"https://github.com/lahmatiy/clap.git"},"main":"index","files":["index.js"],"engines":{"node":">=0.10.0"},"dependencies":{"chalk":"0.5.1"},"devDependencies":{"mocha":"~1.17.1"},"scripts":{"test":"mocha test -R spec"},"gitHead":"84e1177087f8fb7eb52498be07b1aec425698ba0","bugs":{"url":"https://github.com/lahmatiy/clap/issues"},"_id":"clap@1.0.2","_shasum":"8a6a936746e9fa1c6d33b98f07486e3516af7d59","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"lahmatiy","email":"rdvornov@gmail.com"},"maintainers":[{"name":"lahmatiy","email":"rdvornov@gmail.com"}],"dist":{"shasum":"8a6a936746e9fa1c6d33b98f07486e3516af7d59","size":5895,"noattachment":false,"key":"/clap/-/clap-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/clap/download/clap-1.0.2.tgz"},"directories":{},"publish_time":1416403084177,"_cnpm_publish_time":1416403084177,"_hasShrinkwrap":false},"1.0.1":{"name":"clap","title":"Command line argument parser","description":"Command line argument parser","author":{"name":"Roman Dvornov","email":"rdvornov@gmail.com"},"version":"1.0.1","keywords":["cli","command","option","argument","completion"],"homepage":"https://github.com/lahmatiy/clap","repository":{"type":"git","url":"https://github.com/lahmatiy/clap.git"},"main":"index","files":["index.js"],"engines":{"node":">=0.10.0"},"dependencies":{"chalk":"0.5.1"},"devDependencies":{"mocha":"~1.17.1"},"scripts":{"test":"mocha test -R spec"},"gitHead":"4d8ee05e90b445e0d04835c815e583a77b06b793","bugs":{"url":"https://github.com/lahmatiy/clap/issues"},"_id":"clap@1.0.1","_shasum":"6baeb73ac64a828b55982d43d5b0e958252281b3","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"lahmatiy","email":"rdvornov@gmail.com"},"maintainers":[{"name":"lahmatiy","email":"rdvornov@gmail.com"}],"dist":{"shasum":"6baeb73ac64a828b55982d43d5b0e958252281b3","size":5876,"noattachment":false,"key":"/clap/-/clap-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/clap/download/clap-1.0.1.tgz"},"directories":{},"publish_time":1414451749680,"_cnpm_publish_time":1414451749680,"_hasShrinkwrap":false},"1.0.0":{"name":"clap","title":"Command line argument parser","description":"Command line argument parser","author":{"name":"Roman Dvornov","email":"rdvornov@gmail.com"},"version":"1.0.0","keywords":["cli","command","option","argument","completion"],"homepage":"https://github.com/lahmatiy/clap","repository":{"type":"git","url":"https://github.com/lahmatiy/clap.git"},"main":"index","files":["index.js"],"engines":{"node":">=0.10.0"},"dependencies":{"chalk":"0.5.1"},"devDependencies":{"mocha":"~1.17.1"},"scripts":{"test":"mocha test -R spec"},"gitHead":"93852e5e09035e92c88ca3016c7badc3c70b1503","bugs":{"url":"https://github.com/lahmatiy/clap/issues"},"_id":"clap@1.0.0","_shasum":"052b6b64ba894a3aa036e9bdae5330ef2d6f0e65","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"lahmatiy","email":"rdvornov@gmail.com"},"maintainers":[{"name":"lahmatiy","email":"rdvornov@gmail.com"}],"dist":{"shasum":"052b6b64ba894a3aa036e9bdae5330ef2d6f0e65","size":5765,"noattachment":false,"key":"/clap/-/clap-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/clap/download/clap-1.0.0.tgz"},"directories":{},"publish_time":1413057889108,"_cnpm_publish_time":1413057889108,"_hasShrinkwrap":false},"1.0.0-beta2":{"name":"clap","title":"Command line argument parser","description":"Command line argument parser","author":{"name":"Roman Dvornov","email":"rdvornov@gmail.com"},"version":"1.0.0-beta2","keywords":["cli","command","option","argument","completion"],"homepage":"https://github.com/lahmatiy/clap","repository":{"type":"git","url":"https://github.com/lahmatiy/clap.git"},"main":"index","files":["index.js"],"engines":{"node":">=0.10.0"},"dependencies":{"chalk":"0.5.1"},"devDependencies":{"mocha":"~1.17.1"},"scripts":{"test":"mocha test -R spec"},"bugs":{"url":"https://github.com/lahmatiy/clap/issues"},"_id":"clap@1.0.0-beta2","_shasum":"8e60bb7869a8aa1bbdb24f921adc3065ce1c0bf4","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"lahmatiy","email":"rdvornov@gmail.com"},"maintainers":[{"name":"lahmatiy","email":"rdvornov@gmail.com"}],"dist":{"shasum":"8e60bb7869a8aa1bbdb24f921adc3065ce1c0bf4","size":5754,"noattachment":false,"key":"/clap/-/clap-1.0.0-beta2.tgz","tarball":"http://registry.cnpm.dingdandao.com/clap/download/clap-1.0.0-beta2.tgz"},"directories":{},"publish_time":1406295945664,"_cnpm_publish_time":1406295945664,"_hasShrinkwrap":false},"1.0.0-beta":{"name":"clap","title":"Command line argument parser","description":"Command line argument parser","author":{"name":"Roman Dvornov","email":"rdvornov@gmail.com"},"version":"1.0.0-beta","keywords":["cli","command","option","argument","completion"],"homepage":"https://github.com/lahmatiy/clap","repository":{"type":"git","url":"https://github.com/lahmatiy/clap.git"},"main":"index","files":["index.js"],"engines":{"node":">=0.8.0"},"dependencies":{},"devDependencies":{"mocha":"~1.17.1"},"scripts":{"test":"mocha test -R spec"},"bugs":{"url":"https://github.com/lahmatiy/clap/issues"},"_id":"clap@1.0.0-beta","dist":{"shasum":"f9fec096754eabd5ebb37b2f87e1d3e076237f76","size":5301,"noattachment":false,"key":"/clap/-/clap-1.0.0-beta.tgz","tarball":"http://registry.cnpm.dingdandao.com/clap/download/clap-1.0.0-beta.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"lahmatiy","email":"rdvornov@gmail.com"},"maintainers":[{"name":"lahmatiy","email":"rdvornov@gmail.com"}],"directories":{},"publish_time":1405331104953,"_cnpm_publish_time":1405331104953,"_hasShrinkwrap":false},"1.0.0-alpha.2":{"name":"clap","title":"Command line argument parser","description":"Command line argument parser","author":{"name":"Roman Dvornov","email":"rdvornov@gmail.com"},"version":"1.0.0-alpha.2","keywords":["cli","command","option","argument","completion"],"homepage":"https://github.com/lahmatiy/clap","repository":{"type":"git","url":"https://github.com/lahmatiy/clap.git"},"main":"index","files":["index.js"],"engines":{"node":">=0.8.0"},"dependencies":{},"devDependencies":{"mocha":"~1.17.1"},"scripts":{"test":"mocha test -R spec"},"bugs":{"url":"https://github.com/lahmatiy/clap/issues"},"_id":"clap@1.0.0-alpha.2","dist":{"shasum":"c82277f2b60e7167ba5ebde61bc28ce10eb80c1c","size":5218,"noattachment":false,"key":"/clap/-/clap-1.0.0-alpha.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/clap/download/clap-1.0.0-alpha.2.tgz"},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"lahmatiy","email":"rdvornov@gmail.com"},"maintainers":[{"name":"lahmatiy","email":"rdvornov@gmail.com"}],"directories":{},"publish_time":1393033248116,"_cnpm_publish_time":1393033248116,"_hasShrinkwrap":false},"1.0.0-alpha":{"name":"clap","title":"Command line argument parser","description":"Command line argument parser","author":{"name":"Roman Dvornov","email":"rdvornov@gmail.com"},"version":"1.0.0-alpha","keywords":["cli","command","option","argument","completion"],"homepage":"https://github.com/lahmatiy/clap","repository":{"type":"git","url":"https://github.com/lahmatiy/clap.git"},"main":"index","files":["index.js"],"engines":{"node":">=0.8.0"},"dependencies":{},"devDependencies":{"mocha":"~1.17.1"},"scripts":{"test":"mocha test -R spec"},"bugs":{"url":"https://github.com/lahmatiy/clap/issues"},"_id":"clap@1.0.0-alpha","dist":{"shasum":"e1081ec409084e8460f3783499b11362033ecaad","size":5133,"noattachment":false,"key":"/clap/-/clap-1.0.0-alpha.tgz","tarball":"http://registry.cnpm.dingdandao.com/clap/download/clap-1.0.0-alpha.tgz"},"_from":".","_npmVersion":"1.3.2","_npmUser":{"name":"lahmatiy","email":"rdvornov@gmail.com"},"maintainers":[{"name":"lahmatiy","email":"rdvornov@gmail.com"}],"directories":{},"publish_time":1392061834094,"_cnpm_publish_time":1392061834094,"_hasShrinkwrap":false}},"readme":"[![NPM version](https://img.shields.io/npm/v/clap.svg)](https://www.npmjs.com/package/clap)\r\n[![Build Status](https://github.com/lahmatiy/clap/actions/workflows/build.yml/badge.svg)](https://github.com/lahmatiy/clap/actions/workflows/build.yml)\r\n[![Coverage Status](https://coveralls.io/repos/github/lahmatiy/clap/badge.svg?branch=master)](https://coveralls.io/github/lahmatiy/clap?branch=master)\r\n\r\n# Clap.js\r\n\r\nA library for node.js to build command-line interfaces (CLI). With its help, making a simple CLI application is a trivial task. It equally excels in complex tools with a lot of subcommands and specific features. This library supports argument coercion and completion suggestion — typing the commands is much easier.\r\n\r\nInspired by [commander.js](https://github.com/tj/commander.js)\r\n\r\nFeatures:\r\n\r\n- TBD\r\n\r\n## Usage\r\n\r\n```\r\nnpm install clap\r\n```\r\n\r\n```js\r\nconst cli = require('clap');\r\n\r\nconst myCommand = cli.command('my-command [optional-arg]')\r\n    .description('Optional description')\r\n    .version('1.2.3')\r\n    .option('-b, --bool', 'Bollean option')\r\n    .option('--foo <foo>', 'Option with required argument')\r\n    .option('--bar [bar]', 'Option with optional argument')\r\n    .option('--baz [value]', 'Option with optional argument and normalize function',\r\n        value => Number(value),\r\n        123 // 123 is default\r\n    )\r\n    .action(function({ options, args, literalArgs }) {\r\n        // options is an object with collected values\r\n        // args goes before options\r\n        // literal args goes after \"--\"\r\n    });\r\n\r\nmyCommand.run();  // the same as \"myCommnad.run(process.argv.slice(2))\"\r\nmyCommand.run(['--foo', '123', '-b'])\r\n\r\n// sub-commands\r\nmyCommand\r\n    .command('nested')\r\n        .option('-q, --quz', 'Some parameter', 'Default value')\r\n        // ...\r\n        .end()\r\n    .command('another-command')\r\n        // ...\r\n        .command('level3-command')\r\n            //...\r\n```\r\n\r\n## API\r\n\r\n### Command\r\n\r\n```\r\n.command()\r\n    // definition\r\n    .description(value)\r\n    .version(value, usage, description, action)\r\n    .help(usage, description, action)\r\n    .option(usage, description, ...options)\r\n    .command(usageOrCommand)\r\n    .extend(fn, ...options)\r\n    .end()\r\n\r\n    // argv processing pipeline handler setters\r\n    .init(command, context)\r\n    .applyConfig(context)\r\n    .prerareContenxt(context)\r\n    .action(context)\r\n\r\n    // main methods\r\n    .parse(argv, suggest)\r\n    .run(argv)\r\n\r\n    // misc\r\n    .clone(deep)\r\n    .createOptionValues()\r\n    .getCommand(name)\r\n    .getCommands()\r\n    .getOption(name)\r\n    .getOptions()\r\n    .outputHelp()\r\n```\r\n\r\n### .option(usage, description, ...options)\r\n\r\nThere are two usage:\r\n\r\n```\r\n.option(usage, description, normalize, value)\r\n.option(usage, description, options)\r\n```\r\n\r\nWhere `options`:\r\n\r\n```\r\n{\r\n    default: any,          // default value\r\n    normalize: (value, oldValue) => { ... }, // any value for option is passing through this function and its result stores as option value\r\n    shortcut: (value, oldValue) => { ... },  // for shortcut options, the handler is executed after the value is set, and its result (an object) is used as a source of values for other options\r\n    action: () => { ... }, // for an action option, which breaks regular args processing and preform and action (e.g. show help or version)\r\n    config: boolean        // mark option is about config and should be applied before `applyConfig()`\r\n}\r\n```\r\n\r\n### Argv processing\r\n\r\n- `init(command, context)`  // before arguments parsing\r\n    - invoke action option and exit if any\r\n- apply **config** options\r\n- `applyConfig(context)`\r\n- apply all the rest options\r\n- `prepareContext(context)` // after arguments parsing\r\n    - switch to next command -> command is prescending\r\n        - `init(command, context)`\r\n            - invoke action option and exit if any\r\n        - apply **config** options\r\n        - `applyConfig(context)`\r\n        - apply all the rest options\r\n        - `prepareContext(context)` // after arguments parsing\r\n            - switch to next command\r\n                - ...\r\n            - `action(context)` -> command is target\r\n    - `action(context)` -> command is target\r\n\r\n## License\r\n\r\nMIT\r\n","_attachments":{},"homepage":"https://github.com/lahmatiy/clap#readme","bugs":{"url":"https://github.com/lahmatiy/clap/issues"},"license":"MIT"}