{"_id":"coa","_rev":"159639","name":"coa","description":"Command-Option-Argument: Yet another parser for command line options.","dist-tags":{"latest":"2.0.2"},"maintainers":[{"name":"qfox","email":"zxqfox@gmail.com"},{"name":"veged","email":"veged@ya.ru"}],"time":{"modified":"2021-11-04T14:26:02.000Z","created":"2011-07-19T22:07:51.027Z","2.0.2":"2018-12-11T01:33:27.419Z","2.0.1":"2018-01-10T20:45:24.906Z","2.0.0":"2017-07-07T20:26:42.901Z","1.0.4":"2017-07-07T20:24:38.249Z","1.0.3":"2017-06-10T20:08:41.410Z","1.0.2":"2017-05-23T11:17:52.640Z","1.0.1":"2015-03-30T10:53:56.038Z","1.0.0":"2015-02-17T09:49:35.830Z","0.4.1":"2014-05-27T08:56:35.578Z","0.4.0":"2013-07-10T13:46:55.407Z","0.3.9":"2012-12-02T23:09:02.686Z","0.3.8":"2012-11-07T13:07:57.643Z","0.3.7":"2012-10-19T22:20:24.948Z","0.3.6":"2012-10-03T21:24:18.783Z","0.3.5":"2012-06-12T20:43:30.784Z","0.3.4":"2012-02-12T18:45:44.093Z","0.3.3":"2012-01-31T11:01:17.275Z","0.3.2":"2011-12-21T19:53:25.943Z","0.3.1":"2011-11-11T19:29:48.758Z","0.3.0":"2011-11-11T15:25:26.639Z","0.2.1":"2011-11-09T15:25:27.265Z","0.2.0":"2011-10-28T14:54:20.863Z","0.1.1":"2011-09-29T21:43:35.652Z","0.1.0":"2011-09-27T10:21:53.565Z","0.0.6":"2011-09-17T20:48:40.969Z","0.0.5":"2011-08-31T00:11:29.480Z","0.0.4":"2011-08-27T23:44:12.888Z","0.0.2":"2011-07-19T23:51:51.957Z","0.0.1":"2011-07-19T22:07:51.027Z"},"users":{"arikon":true,"deepsweet":true,"hyq":true,"hoitmort":true,"dominykas":true,"soph2k":true},"author":{"name":"Sergey Berezhnoy","email":"veged@ya.ru","url":"http://github.com/veged"},"repository":{"type":"git","url":"git://github.com/veged/coa.git"},"versions":{"2.0.2":{"name":"coa","description":"Command-Option-Argument: Yet another parser for command line options.","version":"2.0.2","homepage":"http://github.com/veged/coa","author":{"name":"Sergey Berezhnoy","email":"veged@ya.ru","url":"http://github.com/veged"},"maintainers":[{"name":"qfox","email":"zxqfox@gmail.com"},{"name":"veged","email":"veged@ya.ru"}],"contributors":[{"name":"Sergey Belov","email":"peimei@ya.ru","url":"http://github.com/arikon"}],"repository":{"type":"git","url":"git://github.com/veged/coa.git"},"directories":{"lib":"./lib"},"dependencies":{"@types/q":"^1.5.1","chalk":"^2.4.1","q":"^1.1.2"},"devDependencies":{"chai":"~1.7.2","coveralls":"^2.11.16","eslint":"^4.15.0","eslint-config-pedant":"^1.0.0","mocha":"~1.21.4","nyc":"^10.1.2"},"scripts":{"clean":"rm -r .nyc_output coverage","coverage":"nyc --reporter=text --reporter=html mocha; echo; echo 'Open coverage/index.html file in your browser'","coveralls":"nyc report --reporter=text-lcov | coveralls","lint":"eslint .","pretest":"npm run lint","test":"nyc mocha"},"engines":{"node":">= 4.0"},"types":"./coa.d.ts","license":"MIT","gitHead":"e891bbf583a4e22395f877bfd03dd2ff64bdc73b","bugs":{"url":"https://github.com/veged/coa/issues"},"_id":"coa@2.0.2","_npmVersion":"6.2.0","_nodeVersion":"8.6.0","_npmUser":{"name":"qfox","email":"zxqfox@gmail.com"},"dist":{"shasum":"43f6c21151b4ef2bf57187db0d73de229e3e7ec3","size":17036,"noattachment":false,"key":"/coa/-/coa-2.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/coa/download/coa-2.0.2.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/coa_2.0.2_1544492007264_0.26485019339350546"},"_hasShrinkwrap":false,"publish_time":1544492007419,"_cnpm_publish_time":1544492007419},"2.0.1":{"name":"coa","description":"Command-Option-Argument: Yet another parser for command line options.","version":"2.0.1","homepage":"http://github.com/veged/coa","author":{"name":"Sergey Berezhnoy","email":"veged@ya.ru","url":"http://github.com/veged"},"maintainers":[{"name":"qfox","email":"zxqfox@gmail.com"},{"name":"veged","email":"veged@ya.ru"}],"contributors":[{"name":"Sergey Belov","email":"peimei@ya.ru","url":"http://github.com/arikon"}],"files":["lib/","index.js","README.ru.md"],"repository":{"type":"git","url":"git://github.com/veged/coa.git"},"directories":{"lib":"./lib"},"dependencies":{"q":"^1.1.2"},"devDependencies":{"chai":"~1.7.2","coveralls":"^2.11.16","eslint":"^4.15.0","eslint-config-pedant":"^1.0.0","mocha":"~1.21.4","nyc":"^10.1.2"},"scripts":{"clean":"rm -r .nyc_output coverage","coverage":"nyc --reporter=text --reporter=html mocha; echo; echo 'Open coverage/index.html file in your browser'","coveralls":"nyc report --reporter=text-lcov | coveralls","lint":"eslint .","pretest":"npm run lint","test":"nyc mocha"},"engines":{"node":">= 4.0"},"license":"MIT","gitHead":"ac7a43c2df69f081d464ad2de165afd6b29c9d67","bugs":{"url":"https://github.com/veged/coa/issues"},"_id":"coa@2.0.1","_npmVersion":"5.4.1","_nodeVersion":"8.4.0","_npmUser":{"name":"qfox","email":"zxqfox@gmail.com"},"dist":{"shasum":"f3f8b0b15073e35d70263fb1042cb2c023db38af","size":16723,"noattachment":false,"key":"/coa/-/coa-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/coa/download/coa-2.0.1.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/coa-2.0.1.tgz_1515617123731_0.6208295265678316"},"publish_time":1515617124906,"_hasShrinkwrap":false,"_cnpm_publish_time":1515617124906},"2.0.0":{"name":"coa","description":"Command-Option-Argument: Yet another parser for command line options.","version":"2.0.0","homepage":"http://github.com/veged/coa","author":{"name":"Sergey Berezhnoy","email":"veged@ya.ru","url":"http://github.com/veged"},"maintainers":[{"name":"qfox","email":"zxqfox@gmail.com"},{"name":"veged","email":"veged@ya.ru"}],"contributors":[{"name":"Sergey Belov","email":"peimei@ya.ru","url":"http://github.com/arikon"}],"files":["lib/","index.js","README.ru.md"],"repository":{"type":"git","url":"git://github.com/veged/coa.git"},"directories":{"lib":"./lib"},"dependencies":{"q":"^1.1.2"},"devDependencies":{"chai":"~1.7.2","coveralls":"^2.11.16","eslint":"^3.15.0","eslint-config-pedant":"^0.8.0","mocha":"~1.21.4","nyc":"^10.1.2"},"scripts":{"clean":"rm -r .nyc_output coverage","coverage":"nyc --reporter=text --reporter=html mocha; echo; echo 'Open coverage/index.html file in your browser'","coveralls":"nyc report --reporter=text-lcov | coveralls","lint":"eslint .","pretest":"npm run lint","test":"nyc mocha"},"engines":{"node":">= 4.0"},"license":"MIT","gitHead":"05bd8dd95703ce2284169928b52dfe28204b72e7","bugs":{"url":"https://github.com/veged/coa/issues"},"_id":"coa@2.0.0","_shasum":"af881ebe214fc29bee4e9e76b4956b6132295546","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"qfox","email":"zxqfox@gmail.com"},"dist":{"shasum":"af881ebe214fc29bee4e9e76b4956b6132295546","size":18703,"noattachment":false,"key":"/coa/-/coa-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/coa/download/coa-2.0.0.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/coa-2.0.0.tgz_1499459201813_0.8034041561186314"},"publish_time":1499459202901,"_hasShrinkwrap":false,"_cnpm_publish_time":1499459202901},"1.0.4":{"name":"coa","description":"Command-Option-Argument: Yet another parser for command line options.","version":"1.0.4","homepage":"http://github.com/veged/coa","author":{"name":"Sergey Berezhnoy","email":"veged@ya.ru","url":"http://github.com/veged"},"maintainers":[{"name":"qfox","email":"zxqfox@gmail.com"},{"name":"veged","email":"veged@ya.ru"}],"contributors":[{"name":"Sergey Belov","email":"peimei@ya.ru","url":"http://github.com/arikon"}],"repository":{"type":"git","url":"git://github.com/veged/coa.git"},"directories":{"lib":"./lib"},"dependencies":{"q":"^1.1.2"},"devDependencies":{"coffee-script":"~1.6.3","istanbul":"~0.1.40","mocha-istanbul":"*","mocha":"~1.21.4","chai":"~1.7.2"},"scripts":{"test":"make test","coverage":"make coverage"},"engines":{"node":">= 0.8.0"},"licenses":[{"type":"MIT"}],"optionalDependencies":{},"gitHead":"43f5e1e5c59750f326c3628fc138acaa157c8274","bugs":{"url":"https://github.com/veged/coa/issues"},"_id":"coa@1.0.4","_shasum":"a9ef153660d6a86a8bdec0289a5c684d217432fd","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"qfox","email":"zxqfox@gmail.com"},"dist":{"shasum":"a9ef153660d6a86a8bdec0289a5c684d217432fd","size":71418,"noattachment":false,"key":"/coa/-/coa-1.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/coa/download/coa-1.0.4.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/coa-1.0.4.tgz_1499459076941_0.4137393257115036"},"publish_time":1499459078249,"_hasShrinkwrap":false,"_cnpm_publish_time":1499459078249},"1.0.3":{"name":"coa","description":"Command-Option-Argument: Yet another parser for command line options.","version":"1.0.3","homepage":"http://github.com/veged/coa","author":{"name":"Sergey Berezhnoy","email":"veged@ya.ru","url":"http://github.com/veged"},"maintainers":[{"name":"qfox","email":"zxqfox@gmail.com"},{"name":"veged","email":"veged@ya.ru"}],"contributors":[{"name":"Sergey Belov","email":"peimei@ya.ru","url":"http://github.com/arikon"}],"files":["lib/","index.js","README.ru.md"],"repository":{"type":"git","url":"git://github.com/veged/coa.git"},"directories":{"lib":"./lib"},"dependencies":{"q":"^1.1.2"},"devDependencies":{"chai":"~1.7.2","coveralls":"^2.11.16","eslint":"^3.15.0","eslint-config-pedant":"^0.8.0","mocha":"~1.21.4","nyc":"^10.1.2"},"scripts":{"clean":"rm -r .nyc_output coverage","coverage":"nyc --reporter=text --reporter=html mocha; echo; echo 'Open coverage/index.html file in your browser'","coveralls":"nyc report --reporter=text-lcov | coveralls","lint":"eslint .","pretest":"npm run lint","test":"nyc mocha"},"engines":{"node":">= 4.0"},"license":"MIT","gitHead":"28619b115419ea7af033c634eaf25fe303ac0810","bugs":{"url":"https://github.com/veged/coa/issues"},"_id":"coa@1.0.3","_shasum":"1b54a5e1dcf77c990455d4deea98c564416dc893","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.0","_npmUser":{"name":"qfox","email":"zxqfox@gmail.com"},"dist":{"shasum":"1b54a5e1dcf77c990455d4deea98c564416dc893","size":18763,"noattachment":false,"key":"/coa/-/coa-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/coa/download/coa-1.0.3.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/coa-1.0.3.tgz_1497125320322_0.1592370483558625"},"publish_time":1497125321410,"_cnpm_publish_time":1497125321410,"_hasShrinkwrap":false,"deprecated":"Please upgrade to 1.0.4 for node 0.10, 0.12, or to 2.0+ for node 4+"},"1.0.2":{"name":"coa","description":"Command-Option-Argument: Yet another parser for command line options.","version":"1.0.2","homepage":"http://github.com/veged/coa","author":{"name":"Sergey Berezhnoy","email":"veged@ya.ru","url":"http://github.com/veged"},"maintainers":[{"name":"qfox","email":"zxqfox@gmail.com"},{"name":"veged","email":"veged@ya.ru"}],"contributors":[{"name":"Sergey Belov","email":"peimei@ya.ru","url":"http://github.com/arikon"}],"files":["lib/","index.js","README.ru.md"],"repository":{"type":"git","url":"git://github.com/veged/coa.git"},"directories":{"lib":"./lib"},"dependencies":{"q":"^1.1.2"},"devDependencies":{"chai":"~1.7.2","coveralls":"^2.11.16","eslint":"^3.15.0","eslint-config-pedant":"^0.8.0","mocha":"~1.21.4","nyc":"^10.1.2"},"scripts":{"clean":"rm -r .nyc_output coverage","coverage":"nyc --reporter=text --reporter=html mocha; echo; echo 'Open coverage/index.html file in your browser'","coveralls":"nyc report --reporter=text-lcov | coveralls","lint":"eslint .","pretest":"npm run lint","test":"nyc mocha"},"engines":{"node":">= 4.0"},"license":"MIT","gitHead":"2fd2cdca033a5b408bc26c05d5829a712d507933","bugs":{"url":"https://github.com/veged/coa/issues"},"_id":"coa@1.0.2","_shasum":"2ba9fec3b4aa43d7a49d7e6c3561e92061b6bcec","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.2","_npmUser":{"name":"qfox","email":"zxqfox@gmail.com"},"dist":{"shasum":"2ba9fec3b4aa43d7a49d7e6c3561e92061b6bcec","size":18013,"noattachment":false,"key":"/coa/-/coa-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/coa/download/coa-1.0.2.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/coa-1.0.2.tgz_1495538271547_0.40722783259116113"},"publish_time":1495538272640,"_cnpm_publish_time":1495538272640,"_hasShrinkwrap":false,"deprecated":"Please upgrade to 1.0.4 for node 0.10, 0.12, or to 2.0+ for node 4+"},"1.0.1":{"name":"coa","description":"Command-Option-Argument: Yet another parser for command line options.","version":"1.0.1","homepage":"http://github.com/veged/coa","author":{"name":"Sergey Berezhnoy","email":"veged@ya.ru","url":"http://github.com/veged"},"maintainers":[{"name":"qfox","email":"zxqfox@gmail.com"},{"name":"veged","email":"veged@ya.ru"}],"contributors":[{"name":"Sergey Belov","email":"peimei@ya.ru","url":"http://github.com/arikon"}],"repository":{"type":"git","url":"git://github.com/veged/coa.git"},"directories":{"lib":"./lib"},"dependencies":{"q":"^1.1.2"},"devDependencies":{"coffee-script":"~1.6.3","istanbul":"~0.1.40","mocha-istanbul":"*","mocha":"~1.21.4","chai":"~1.7.2"},"scripts":{"test":"make test","coverage":"make coverage"},"engines":{"node":">= 0.8.0"},"licenses":[{"type":"MIT"}],"optionalDependencies":{},"gitHead":"ec694e82e7fb2c79fc114c9b23625a90c57e81fe","bugs":{"url":"https://github.com/veged/coa/issues"},"_id":"coa@1.0.1","_shasum":"7f959346cfc8719e3f7233cd6852854a7c67d8a3","_from":".","_npmVersion":"2.0.0-alpha-5","_npmUser":{"name":"veged","email":"veged@ya.ru"},"dist":{"shasum":"7f959346cfc8719e3f7233cd6852854a7c67d8a3","size":24528,"noattachment":false,"key":"/coa/-/coa-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/coa/download/coa-1.0.1.tgz"},"publish_time":1427712836038,"_cnpm_publish_time":1427712836038,"_hasShrinkwrap":false},"1.0.0":{"name":"coa","description":"Command-Option-Argument: Yet another parser for command line options.","version":"1.0.0","homepage":"http://github.com/veged/coa","author":{"name":"Sergey Berezhnoy","email":"veged@ya.ru","url":"http://github.com/veged"},"maintainers":[{"name":"qfox","email":"zxqfox@gmail.com"},{"name":"veged","email":"veged@ya.ru"}],"contributors":[{"name":"Sergey Belov","email":"peimei@ya.ru","url":"http://github.com/arikon"}],"repository":{"type":"git","url":"git://github.com/veged/coa.git"},"directories":{"lib":"./lib"},"dependencies":{"q":"^1.1.2"},"devDependencies":{"coffee-script":"~1.6.3","istanbul":"~0.1.40","mocha-istanbul":"*","mocha":"~1.21.4","chai":"~1.7.2"},"scripts":{"test":"make test","coverage":"make coverage"},"engines":{"node":">= 0.8.0"},"licenses":[{"type":"MIT"}],"optionalDependencies":{},"gitHead":"93e0968e275f2cc6dd8d836cf0630a3caa1cb68c","bugs":{"url":"https://github.com/veged/coa/issues"},"_id":"coa@1.0.0","_shasum":"a46eb475afadb327cf49fa6b6ec0657f9cc48604","_from":".","_npmVersion":"2.0.0-alpha-5","_npmUser":{"name":"veged","email":"veged@ya.ru"},"dist":{"shasum":"a46eb475afadb327cf49fa6b6ec0657f9cc48604","size":24547,"noattachment":false,"key":"/coa/-/coa-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/coa/download/coa-1.0.0.tgz"},"publish_time":1424166575830,"_cnpm_publish_time":1424166575830,"_hasShrinkwrap":false},"0.4.1":{"name":"coa","description":"Command-Option-Argument: Yet another parser for command line options.","version":"0.4.1","homepage":"http://github.com/veged/coa","author":{"name":"Sergey Berezhnoy","email":"veged@ya.ru","url":"http://github.com/veged"},"maintainers":[{"name":"qfox","email":"zxqfox@gmail.com"},{"name":"veged","email":"veged@ya.ru"}],"contributors":[{"name":"Sergey Belov","email":"peimei@ya.ru","url":"http://github.com/arikon"}],"repository":{"type":"git","url":"git://github.com/veged/coa.git"},"directories":{"lib":"./lib"},"dependencies":{"q":"~0.9.6"},"devDependencies":{"coffee-script":"~1.6.3","istanbul":"~0.1.40","mocha-as-promised":"*","mocha-istanbul":"*","mocha":"~1.12.0","chai":"~1.7.2"},"scripts":{"test":"make test","coverage":"make coverage"},"engines":{"node":">= 0.6.0"},"licenses":[{"type":"MIT"}],"optionalDependencies":{},"bugs":{"url":"https://github.com/veged/coa/issues"},"_id":"coa@0.4.1","dist":{"shasum":"baf6f49c7ad9f20c597af39b3fc1e5090fe8838b","size":24532,"noattachment":false,"key":"/coa/-/coa-0.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/coa/download/coa-0.4.1.tgz"},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"arikon","email":"arikon@yandex-team.ru"},"publish_time":1401180995578,"_cnpm_publish_time":1401180995578,"_hasShrinkwrap":false},"0.4.0":{"name":"coa","description":"Command-Option-Argument: Yet another parser for command line options.","version":"0.4.0","homepage":"http://github.com/veged/coa","author":{"name":"Sergey Berezhnoy","email":"veged@ya.ru","url":"http://github.com/veged"},"maintainers":[{"name":"qfox","email":"zxqfox@gmail.com"},{"name":"veged","email":"veged@ya.ru"}],"contributors":[{"name":"Sergey Belov","email":"peimei@ya.ru","url":"http://github.com/arikon"}],"repository":{"type":"git","url":"git://github.com/veged/coa.git"},"directories":{"lib":"./lib"},"dependencies":{"q":"~0.9.6"},"devDependencies":{"coffee-script":"~1.6.3","istanbul":"~0.1.40","mocha-as-promised":"*","mocha-istanbul":"*","mocha":"~1.12.0","chai":"~1.7.2"},"scripts":{"test":"make test","coverage":"make coverage"},"engines":{"node":">= 0.6.0"},"licenses":[{"type":"MIT"}],"optionalDependencies":{},"readmeFilename":"README.md","bugs":{"url":"https://github.com/veged/coa/issues"},"_id":"coa@0.4.0","dist":{"shasum":"252bc1be9740af15d826e490e8b1393c2fe2a062","size":24174,"noattachment":false,"key":"/coa/-/coa-0.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/coa/download/coa-0.4.0.tgz"},"_from":".","_npmVersion":"1.3.1","_npmUser":{"name":"arikon","email":"peimei@ya.ru"},"publish_time":1373464015407,"_cnpm_publish_time":1373464015407,"_hasShrinkwrap":false},"0.3.9":{"name":"coa","description":"Command-Option-Argument: Yet another parser for command line options.","version":"0.3.9","homepage":"http://github.com/veged/coa","author":{"name":"Sergey Berezhnoy","email":"veged@ya.ru","url":"http://github.com/veged"},"maintainers":[{"name":"qfox","email":"zxqfox@gmail.com"},{"name":"veged","email":"veged@ya.ru"}],"contributors":[{"name":"Sergey Belov","email":"peimei@ya.ru","url":"http://github.com/arikon"}],"repository":{"type":"git","url":"git://github.com/veged/coa.git"},"directories":{"lib":"./lib"},"dependencies":{"q":"~0.8.10"},"devDependencies":{"coffee-script":"~1.4.0","istanbul":"~0.1.11","mocha-as-promised":"*","mocha-istanbul":"*","mocha":"~1.6.0","chai":"~1.3.0"},"scripts":{"test":"make test","coverage":"make coverage"},"engines":{"node":">= 0.6.0"},"licenses":[{"type":"MIT"}],"optionalDependencies":{},"readmeFilename":"README.md","_id":"coa@0.3.9","dist":{"shasum":"7e3d20d30af70b80862e95d4d49b715183be9604","size":22715,"noattachment":false,"key":"/coa/-/coa-0.3.9.tgz","tarball":"http://registry.cnpm.dingdandao.com/coa/download/coa-0.3.9.tgz"},"_npmVersion":"1.1.65","_npmUser":{"name":"arikon","email":"peimei@ya.ru"},"publish_time":1354489742686,"_cnpm_publish_time":1354489742686,"_hasShrinkwrap":false},"0.3.8":{"name":"coa","description":"Command-Option-Argument: Yet another parser for command line options.","version":"0.3.8","homepage":"http://github.com/veged/coa","author":{"name":"Sergey Berezhnoy","email":"veged@ya.ru","url":"http://github.com/veged"},"maintainers":[{"name":"qfox","email":"zxqfox@gmail.com"},{"name":"veged","email":"veged@ya.ru"}],"contributors":[{"name":"Sergey Belov","email":"peimei@ya.ru","url":"http://github.com/arikon"}],"repository":{"type":"git","url":"git://github.com/veged/coa.git"},"directories":{"lib":"./lib"},"dependencies":{"q":"~0.8.10"},"devDependencies":{"coffee-script":"~1.4.0","istanbul":"~0.1.11","mocha-as-promised":"*","mocha-istanbul":"*","mocha":"~1.6.0","chai":"~1.3.0"},"scripts":{"test":"make test","coverage":"make coverage"},"engines":{"node":">= 0.6.0"},"licenses":[{"type":"MIT"}],"optionalDependencies":{},"readmeFilename":"README.md","_id":"coa@0.3.8","dist":{"shasum":"adeee46375ffef0d4235425f3b7d29306e62c5d1","size":22538,"noattachment":false,"key":"/coa/-/coa-0.3.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/coa/download/coa-0.3.8.tgz"},"_npmVersion":"1.1.65","_npmUser":{"name":"arikon","email":"peimei@ya.ru"},"publish_time":1352293677643,"_cnpm_publish_time":1352293677643,"_hasShrinkwrap":false},"0.3.7":{"name":"coa","description":"Command-Option-Argument: Yet another parser for command line options.","version":"0.3.7","homepage":"http://github.com/veged/coa","author":{"name":"Sergey Berezhnoy","email":"veged@ya.ru","url":"http://github.com/veged"},"maintainers":[{"name":"qfox","email":"zxqfox@gmail.com"},{"name":"veged","email":"veged@ya.ru"}],"contributors":[{"name":"Sergey Belov","email":"peimei@ya.ru","url":"http://github.com/arikon"}],"repository":{"type":"git","url":"git://github.com/veged/coa.git"},"directories":{"lib":"./lib"},"main":"./lib/coa.js","dependencies":{"q":"~0.8.8"},"devDependencies":{"coffee-script":"~1.3.3","vows":"~0.6.4"},"engines":{"node":">= 0.6.0"},"licenses":[{"type":"MIT"}],"optionalDependencies":{},"_id":"coa@0.3.7","dist":{"shasum":"529b7a33b295b1e3244836b7add994d8c970098b","size":21495,"noattachment":false,"key":"/coa/-/coa-0.3.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/coa/download/coa-0.3.7.tgz"},"_npmVersion":"1.1.63","_npmUser":{"name":"arikon","email":"peimei@ya.ru"},"publish_time":1350685224948,"_cnpm_publish_time":1350685224948,"_hasShrinkwrap":false},"0.3.6":{"name":"coa","description":"Command-Option-Argument: Yet another parser for command line options.","version":"0.3.6","homepage":"http://github.com/veged/coa","author":{"name":"Sergey Berezhnoy","email":"veged@ya.ru","url":"http://github.com/veged"},"maintainers":[{"name":"qfox","email":"zxqfox@gmail.com"},{"name":"veged","email":"veged@ya.ru"}],"contributors":[{"name":"Sergey Belov","email":"peimei@ya.ru","url":"http://github.com/arikon"}],"repository":{"type":"git","url":"git://github.com/veged/coa.git"},"directories":{"lib":"./lib"},"main":"./lib/coa.js","dependencies":{"q":"~0.8.8"},"devDependencies":{"vows":"~0.6.4"},"engines":{"node":">= 0.6.0"},"licenses":[{"type":"MIT"}],"optionalDependencies":{},"_id":"coa@0.3.6","dist":{"shasum":"c3af47771f4588e8d37e021a0da11cce660718fa","size":21304,"noattachment":false,"key":"/coa/-/coa-0.3.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/coa/download/coa-0.3.6.tgz"},"_npmVersion":"1.1.62","_npmUser":{"name":"arikon","email":"peimei@ya.ru"},"publish_time":1349299458783,"_cnpm_publish_time":1349299458783,"_hasShrinkwrap":false},"0.3.5":{"name":"coa","description":"Command-Option-Argument: Yet another parser for command line options.","version":"0.3.5","homepage":"http://github.com/veged/coa","author":{"name":"Sergey Berezhnoy","email":"veged@ya.ru","url":"http://github.com/veged"},"maintainers":[{"name":"qfox","email":"zxqfox@gmail.com"},{"name":"veged","email":"veged@ya.ru"}],"contributors":[{"name":"Sergey Belov","email":"peimei@ya.ru","url":"http://github.com/arikon"}],"repository":{"type":"git","url":"git://github.com/veged/coa.git"},"directories":{"lib":"./lib"},"main":"./lib/coa.js","dependencies":{"q":"~0.7.2"},"devDependencies":{"vows":"~0.5.12"},"engines":{"node":">=0.4.0"},"licenses":[{"type":"AS IS"}],"optionalDependencies":{},"_npmUser":{"name":"arikon","email":"peimei@ya.ru"},"_id":"coa@0.3.5","_engineSupported":true,"_npmVersion":"1.1.25","_nodeVersion":"v0.6.19","_defaultsLoaded":true,"dist":{"shasum":"c9bc909db5b3d055f8f8cc8b1739dffed6f0e71d","size":21491,"noattachment":false,"key":"/coa/-/coa-0.3.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/coa/download/coa-0.3.5.tgz"},"publish_time":1339533810784,"_cnpm_publish_time":1339533810784,"_hasShrinkwrap":false},"0.3.4":{"name":"coa","description":"Command-Option-Argument: Yet another parser for command line options.","version":"0.3.4","homepage":"http://github.com/veged/coa","author":{"name":"Sergey Berezhnoy","email":"veged@ya.ru","url":"http://github.com/veged"},"maintainers":[{"name":"qfox","email":"zxqfox@gmail.com"},{"name":"veged","email":"veged@ya.ru"}],"contributors":[{"name":"Sergey Belov","email":"peimei@ya.ru","url":"http://github.com/arikon"}],"repository":{"type":"git","url":"git://github.com/veged/coa.git"},"directories":{"lib":"./lib"},"main":"./lib/coa.js","dependencies":{"q":"~0.7.2"},"devDependencies":{"vows":"~0.5.12"},"engines":{"node":">=0.4.0 <0.7.0"},"licenses":[{"type":"AS IS"}],"optionalDependencies":{},"_npmUser":{"name":"arikon","email":"peimei@ya.ru"},"_id":"coa@0.3.4","_engineSupported":true,"_npmVersion":"1.1.0-3","_nodeVersion":"v0.6.9","_defaultsLoaded":true,"dist":{"shasum":"5b959d741fc520f05a7813a6d2e28b589a77d74a","size":20785,"noattachment":false,"key":"/coa/-/coa-0.3.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/coa/download/coa-0.3.4.tgz"},"publish_time":1329072344093,"_cnpm_publish_time":1329072344093,"_hasShrinkwrap":false},"0.3.3":{"name":"coa","description":"Command-Option-Argument: Yet another parser for command line options.","version":"0.3.3","homepage":"http://github.com/veged/coa","author":{"name":"Sergey Berezhnoy","email":"veged@ya.ru","url":"http://github.com/veged"},"maintainers":[{"name":"qfox","email":"zxqfox@gmail.com"},{"name":"veged","email":"veged@ya.ru"}],"contributors":[{"name":"Sergey Belov","email":"peimei@ya.ru","url":"http://github.com/arikon"}],"repository":{"type":"git","url":"git://github.com/veged/coa.git"},"directories":{"lib":"./lib"},"main":"./lib/coa.js","dependencies":{"q":">=0.7.1"},"devDependencies":{"vows":">=0.5.12"},"engines":{"node":">=0.4.0 <0.7.0"},"licenses":[{"type":"AS IS"}],"optionalDependencies":{},"_npmUser":{"name":"arikon","email":"peimei@ya.ru"},"_id":"coa@0.3.3","_engineSupported":true,"_npmVersion":"1.1.0-3","_nodeVersion":"v0.6.9","_defaultsLoaded":true,"dist":{"shasum":"55e46edaa5621ce2a60a6c1543127ece34349411","size":20824,"noattachment":false,"key":"/coa/-/coa-0.3.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/coa/download/coa-0.3.3.tgz"},"publish_time":1328007677275,"_cnpm_publish_time":1328007677275,"_hasShrinkwrap":false},"0.3.2":{"name":"coa","description":"Command-Option-Argument: Yet another parser for command line options.","version":"0.3.2","homepage":"http://github.com/veged/coa","author":{"name":"Sergey Berezhnoy","email":"veged@ya.ru","url":"http://github.com/veged"},"maintainers":[{"name":"qfox","email":"zxqfox@gmail.com"},{"name":"veged","email":"veged@ya.ru"}],"contributors":[{"name":"Sergey Belov","email":"peimei@ya.ru","url":"http://github.com/arikon"}],"repository":{"type":"git","url":"git://github.com/veged/coa.git"},"directories":{"lib":"./lib"},"main":"./lib/coa.js","dependencies":{"q":">=0.7.1"},"devDependencies":{"vows":">=0.5.12"},"engines":{"node":">=0.4.0 <0.7.0"},"licenses":[{"type":"AS IS"}],"_npmUser":{"name":"arikon","email":"peimei@ya.ru"},"_id":"coa@0.3.2","_engineSupported":true,"_npmVersion":"1.0.106","_nodeVersion":"v0.6.6","_defaultsLoaded":true,"dist":{"shasum":"10b5a55efc5b988e4f24f775c1ec25aab3b492b0","size":30720,"noattachment":false,"key":"/coa/-/coa-0.3.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/coa/download/coa-0.3.2.tgz"},"publish_time":1324497205943,"_cnpm_publish_time":1324497205943,"_hasShrinkwrap":false},"0.3.1":{"name":"coa","description":"Command-Option-Argument: Yet another parser for command line options.","version":"0.3.1","homepage":"http://github.com/veged/coa","author":{"name":"Sergey Berezhnoy","email":"veged@ya.ru","url":"http://github.com/veged"},"maintainers":[{"name":"qfox","email":"zxqfox@gmail.com"},{"name":"veged","email":"veged@ya.ru"}],"contributors":[{"name":"Sergey Belov","email":"peimei@ya.ru","url":"http://github.com/arikon"}],"repository":{"type":"git","url":"git://github.com/veged/coa.git"},"directories":{"lib":"./lib"},"main":"./lib/coa.js","dependencies":{"q":">=0.7.1"},"devDependencies":{"vows":">=0.5.12"},"engines":{"node":">=0.4.0 <0.7.0"},"licenses":[{"type":"AS IS"}],"_npmUser":{"name":"arikon","email":"peimei@ya.ru"},"_id":"coa@0.3.1","_engineSupported":true,"_npmVersion":"1.0.105","_nodeVersion":"v0.6.0","_defaultsLoaded":true,"dist":{"shasum":"567a213d978a01f70f7b8669904eda9c0254a843","size":30720,"noattachment":false,"key":"/coa/-/coa-0.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/coa/download/coa-0.3.1.tgz"},"publish_time":1321039788758,"_cnpm_publish_time":1321039788758,"_hasShrinkwrap":false},"0.3.0":{"name":"coa","description":"Command-Option-Argument: Yet another parser for command line options.","version":"0.3.0","homepage":"http://github.com/veged/coa","author":{"name":"Sergey Berezhnoy","email":"veged@ya.ru","url":"http://github.com/veged"},"maintainers":[{"name":"qfox","email":"zxqfox@gmail.com"},{"name":"veged","email":"veged@ya.ru"}],"contributors":[{"name":"Sergey Belov","email":"peimei@ya.ru","url":"http://github.com/arikon"}],"repository":{"type":"git","url":"git://github.com/veged/coa.git"},"directories":{"lib":"./lib"},"main":"./lib/coa.js","dependencies":{"q":">=0.7.1"},"devDependencies":{"vows":">=0.5.12"},"engines":{"node":">=0.4.0 <0.7.0"},"licenses":[{"type":"AS IS"}],"_npmUser":{"name":"arikon","email":"peimei@ya.ru"},"_id":"coa@0.3.0","_engineSupported":true,"_npmVersion":"1.0.105","_nodeVersion":"v0.6.0","_defaultsLoaded":true,"dist":{"shasum":"808acf4cda2993a2a940391144d5eab724717bab","size":30720,"noattachment":false,"key":"/coa/-/coa-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/coa/download/coa-0.3.0.tgz"},"publish_time":1321025126639,"_cnpm_publish_time":1321025126639,"_hasShrinkwrap":false},"0.2.1":{"name":"coa","description":"Command-Option-Argument: Yet another parser for command line options.","version":"0.2.1","homepage":"http://github.com/veged/coa","author":{"name":"Sergey Berezhnoy","email":"veged@ya.ru","url":"http://github.com/veged"},"maintainers":[{"name":"qfox","email":"zxqfox@gmail.com"},{"name":"veged","email":"veged@ya.ru"}],"repository":{"type":"git","url":"git://github.com/veged/coa.git"},"directories":{"lib":"./lib"},"main":"./lib/coa.js","dependencies":{"q":">=0.7.1"},"devDependencies":{"vows":">=0.5.12"},"engines":{"node":">=0.4.0 <0.7.0"},"licenses":[{"type":"AS IS"}],"_npmUser":{"name":"arikon","email":"peimei@ya.ru"},"_id":"coa@0.2.1","_engineSupported":true,"_npmVersion":"1.0.104","_nodeVersion":"v0.6.0","_defaultsLoaded":true,"dist":{"shasum":"b60be00b40dc49416483a0d418ca87b4e260154c","size":30720,"noattachment":false,"key":"/coa/-/coa-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/coa/download/coa-0.2.1.tgz"},"publish_time":1320852327265,"_cnpm_publish_time":1320852327265,"_hasShrinkwrap":false},"0.2.0":{"name":"coa","description":"Command-Option-Argument: Yet another parser for command line options.","version":"0.2.0","homepage":"http://github.com/veged/coa","author":{"name":"Sergey Berezhnoy","email":"veged@ya.ru","url":"http://github.com/veged"},"maintainers":[{"name":"qfox","email":"zxqfox@gmail.com"},{"name":"veged","email":"veged@ya.ru"}],"repository":{"type":"git","url":"git://github.com/veged/coa.git"},"directories":{"lib":"./lib"},"main":"./lib/coa.js","dependencies":{"q":">=0.7.1"},"devDependencies":{"vows":">=0.5.12"},"engines":["node ~0.4.0"],"licenses":[{"type":"AS IS"}],"_npmUser":{"name":"veged","email":"veged@mail.ru"},"_id":"coa@0.2.0","_engineSupported":true,"_npmVersion":"1.0.103","_nodeVersion":"v0.4.11","_defaultsLoaded":true,"dist":{"shasum":"acd479e5acfbf1c8d69a1289071b9eb6ed41d62a","size":20480,"noattachment":false,"key":"/coa/-/coa-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/coa/download/coa-0.2.0.tgz"},"publish_time":1319813660863,"_cnpm_publish_time":1319813660863,"_hasShrinkwrap":false},"0.1.1":{"name":"coa","description":"Command-Option-Argument: Yet another parser for command line options.","version":"0.1.1","homepage":"http://github.com/veged/coa","author":{"name":"Sergey Berezhnoy","email":"veged@ya.ru","url":"http://github.com/veged"},"maintainers":[{"name":"qfox","email":"zxqfox@gmail.com"},{"name":"veged","email":"veged@ya.ru"}],"repository":{"type":"git","url":"git://github.com/veged/coa.git"},"directories":{"lib":"./lib"},"main":"./lib/coa.js","dependencies":{"q":">=0.7.1"},"engines":["node ~0.4.0"],"licenses":[{"type":"AS IS"}],"_id":"coa@0.1.1","_engineSupported":true,"_npmVersion":"0.3.17","_nodeVersion":"v0.4.12","files":[""],"_defaultsLoaded":true,"dist":{"shasum":"c8ef8b4ebe6770b560a5228a5b5af573cda9482c","size":146169,"noattachment":false,"key":"/coa/-/coa-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/coa/download/coa-0.1.1.tgz"},"publish_time":1317332615652,"_cnpm_publish_time":1317332615652,"_hasShrinkwrap":false},"0.1.0":{"name":"coa","description":"Command-Option-Argument: Yet another parser for command line options.","version":"0.1.0","homepage":"http://github.com/veged/coa","author":{"name":"Sergey Berezhnoy","email":"veged@ya.ru","url":"http://github.com/veged"},"maintainers":[{"name":"qfox","email":"zxqfox@gmail.com"},{"name":"veged","email":"veged@ya.ru"}],"repository":{"type":"git","url":"git://github.com/veged/coa.git"},"directories":{"lib":"./lib"},"main":"./lib/coa.js","dependencies":{"q":">=0.7.1"},"engines":["node ~0.4.0"],"licenses":[{"type":"AS IS"}],"_id":"coa@0.1.0","_engineSupported":true,"_npmVersion":"0.3.17","_nodeVersion":"v0.4.12","files":[""],"_defaultsLoaded":true,"dist":{"shasum":"e2d412a2889e11224ad09d802004c2c751ffc692","size":145338,"noattachment":false,"key":"/coa/-/coa-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/coa/download/coa-0.1.0.tgz"},"publish_time":1317118913565,"_cnpm_publish_time":1317118913565,"_hasShrinkwrap":false},"0.0.6":{"name":"coa","description":"Command-Option-Argument: Yet another parser for command line options.","version":"0.0.6","homepage":"http://github.com/veged/coa","author":{"name":"Sergey Berezhnoy","email":"veged@ya.ru","url":"http://github.com/veged"},"maintainers":[{"name":"qfox","email":"zxqfox@gmail.com"},{"name":"veged","email":"veged@ya.ru"}],"repository":{"type":"git","url":"git://github.com/veged/coa.git"},"directories":{"lib":"./lib"},"main":"./lib/coa.js","dependencies":{"q":">=0.7.1"},"engines":["node ~0.4.0"],"licenses":[{"type":"AS IS"}],"_id":"coa@0.0.6","_engineSupported":true,"_npmVersion":"0.3.16","_nodeVersion":"v0.4.11","files":[""],"_defaultsLoaded":true,"dist":{"shasum":"c391f9bce2f7ba5f21bb29e24c58591b6cbcdee5","size":11424,"noattachment":false,"key":"/coa/-/coa-0.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/coa/download/coa-0.0.6.tgz"},"publish_time":1316292520969,"_cnpm_publish_time":1316292520969,"_hasShrinkwrap":false},"0.0.5":{"name":"coa","description":"Command-Option-Argument: Yet another parser for command line options.","version":"0.0.5","homepage":"http://github.com/veged/coa","author":{"name":"Sergey Berezhnoy","email":"veged@ya.ru","url":"http://github.com/veged"},"maintainers":[{"name":"qfox","email":"zxqfox@gmail.com"},{"name":"veged","email":"veged@ya.ru"}],"repository":{"type":"git","url":"git://github.com/veged/coa.git"},"directories":{"lib":"./lib"},"main":"./lib/coa.js","dependencies":{},"engines":["node ~0.4.0"],"licenses":[{"type":"AS IS"}],"_id":"coa@0.0.5","_engineSupported":true,"_npmVersion":"0.3.16","_nodeVersion":"v0.4.11","files":[""],"_defaultsLoaded":true,"dist":{"shasum":"9e1551c5b6d46e59671e6070297df5bfd3cb6c36","size":15123,"noattachment":false,"key":"/coa/-/coa-0.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/coa/download/coa-0.0.5.tgz"},"publish_time":1314749489480,"_cnpm_publish_time":1314749489480,"_hasShrinkwrap":false},"0.0.4":{"name":"coa","description":"Command-Option-Argument: Yet another parser for command line options.","version":"0.0.4","homepage":"http://github.com/veged/coa","author":{"name":"Sergey Berezhnoy","email":"veged@ya.ru","url":"http://github.com/veged"},"maintainers":[{"name":"qfox","email":"zxqfox@gmail.com"},{"name":"veged","email":"veged@ya.ru"}],"repository":{"type":"git","url":"git://github.com/veged/coa.git"},"directories":{"lib":"./lib"},"main":"./lib/coa.js","dependencies":{},"engines":["node ~0.4.0"],"licenses":[{"type":"AS IS"}],"_id":"coa@0.0.4","_engineSupported":true,"_npmVersion":"0.3.16","_nodeVersion":"v0.4.11","files":[""],"_defaultsLoaded":true,"dist":{"shasum":"c8cca760bd9439c6622233ab4dc9571cce4cbd20","size":10622,"noattachment":false,"key":"/coa/-/coa-0.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/coa/download/coa-0.0.4.tgz"},"publish_time":1314488652888,"_cnpm_publish_time":1314488652888,"_hasShrinkwrap":false},"0.0.2":{"name":"coa","description":"Command-Option-Argument: Yet another parser for command line options.","version":"0.0.2","homepage":"http://github.com/veged/coa","author":{"name":"Sergey Berezhnoy","email":"veged@ya.ru","url":"http://github.com/veged"},"maintainers":[{"name":"qfox","email":"zxqfox@gmail.com"},{"name":"veged","email":"veged@ya.ru"}],"repository":{"type":"git","url":"git://github.com/veged/coa.git"},"directories":{"lib":"./lib"},"main":"./lib/coa.js","dependencies":{},"engines":["node ~0.4.0"],"licenses":[{"type":"AS IS"}],"_id":"coa@0.0.2","_engineSupported":true,"_npmVersion":"0.3.16","_nodeVersion":"v0.4.3","files":[""],"_defaultsLoaded":true,"dist":{"shasum":"98cd8fba4a4d313fb0eff89b0d24747eed2554ff","size":3293,"noattachment":false,"key":"/coa/-/coa-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/coa/download/coa-0.0.2.tgz"},"publish_time":1311119511957,"_cnpm_publish_time":1311119511957,"_hasShrinkwrap":false},"0.0.1":{"name":"coa","description":"Command-Option-Argument: Yet another parser for command line options.","version":"0.0.1","homepage":"http://github.com/veged/coa","author":{"name":"Sergey Berezhnoy","email":"veged@ya.ru","url":"http://github.com/veged"},"maintainers":[{"name":"qfox","email":"zxqfox@gmail.com"},{"name":"veged","email":"veged@ya.ru"}],"repository":{"type":"git","url":"git://github.com/veged/coa.git"},"directories":{"lib":"./lib"},"main":"./lib/coa.js","dependencies":{},"engines":["node ~0.4.0"],"licenses":[{"type":"AS IS"}],"_id":"coa@0.0.1","_engineSupported":true,"_npmVersion":"0.3.16","_nodeVersion":"v0.4.3","files":[""],"_defaultsLoaded":true,"dist":{"shasum":"d149600ed37dd6295246ae3fa5b6ca9b893da83e","size":3286,"noattachment":false,"key":"/coa/-/coa-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/coa/download/coa-0.0.1.tgz"},"publish_time":1311113271027,"_cnpm_publish_time":1311113271027,"_hasShrinkwrap":false}},"readme":"# Command-Option-Argument\n\nYet another parser for command line options.\n\n[![NPM Status][npm-img]][npm]\n[![Travis Status][test-img]][travis]\n[![AppVeyor Status][appveyor-img]][appveyor]\n[![Coverage Status][coverage-img]][coveralls]\n[![Dependency Status][dependency-img]][david]\n\n[npm]:          https://www.npmjs.org/package/coa\n[npm-img]:      https://img.shields.io/npm/v/coa.svg\n[travis]:       https://travis-ci.org/veged/coa\n[test-img]:     https://img.shields.io/travis/veged/coa.svg\n[appveyor]:     https://ci.appveyor.com/project/zxqfox/coa\n[appveyor-img]: https://ci.appveyor.com/api/projects/status/github/veged/coa?svg=true\n[coveralls]:    https://coveralls.io/r/veged/coa\n[coverage-img]: https://img.shields.io/coveralls/veged/coa.svg\n[david]:          https://david-dm.org/veged/coa\n[dependency-img]: http://img.shields.io/david/veged/coa.svg\n\n## What is it?\n\nCOA is a parser for command line options that aim to get maximum profit from formalization your program API.\nOnce you write definition in terms of commands, options and arguments you automaticaly get:\n\n* Command line help text\n* Program API for use COA-based programs as modules\n* Shell completion\n\n### Other features\n\n* Rich types for options and arguments, such as arrays, boolean flags and required\n* Commands can be async throught using promising (powered by [Q](https://github.com/kriskowal/q))\n* Easy submoduling some existing commands to new top-level one\n* Combined validation and complex parsing of values\n\n### TODO\n\n* Localization\n* Shell-mode\n* Configs\n * Aliases\n * Defaults\n\n## Examples\n\n````javascript\nrequire('coa').Cmd() // main (top level) command declaration\n    .name(process.argv[1]) // set top level command name from program name\n    .title('My awesome command line util') // title for use in text messages\n    .helpful() // make command \"helpful\", i.e. options -h --help with usage message\n    .opt() // add some option\n        .name('version') // name for use in API\n        .title('Version') // title for use in text messages\n        .short('v') // short key: -v\n        .long('version') // long key: --version\n        .flag() // for options without value\n        .act(function(opts) { // add action for option\n            // return message as result of action\n            return JSON.parse(require('fs').readFileSync(__dirname + '/package.json'))\n                .version;\n        })\n        .end() // end option chain and return to main command\n    .cmd().name('subcommand').apply(require('./subcommand').COA).end() // load subcommand from module\n    .cmd() // inplace subcommand declaration\n        .name('othercommand').title('Awesome other subcommand').helpful()\n        .opt()\n            .name('input').title('input file, required')\n            .short('i').long('input')\n            .val(function(v) { // validator function, also for translate simple values\n                return require('fs').createReadStream(v) })\n            .req() // make option required\n            .end() // end option chain and return to command\n        .end() // end subcommand chain and return to parent command\n    .run(process.argv.slice(2)); // parse and run on process.argv\n````\n\n````javascript\n// subcommand.js\nexports.COA = function() {\n    this\n        .title('Awesome subcommand').helpful()\n        .opt()\n            .name('output').title('output file')\n            .short('o').long('output')\n            .output() // use default preset for \"output\" option declaration\n            .end()\n};\n````\n\n## API reference\n\n### Cmd\nCommand is a top level entity. Commands may have options and arguments.\n\n#### Cmd.api\nReturns object containing all its subcommands as methods to use from other programs.<br>\n**@returns** *{Object}*\n\n#### Cmd.name\nSet a canonical command identifier to be used anywhere in the API.<br>\n**@param** *String* `_name` command name<br>\n**@returns** *COA.Cmd* `this` instance (for chainability)\n\n#### Cmd.title\nSet a long description for command to be used anywhere in text messages.<br>\n**@param** *String* `_title` command title<br>\n**@returns** *COA.Cmd* `this` instance (for chainability)\n\n#### Cmd.cmd\nCreate new or add existing subcommand for current command.<br>\n**@param** *COA.Cmd* `[cmd]` existing command instance<br>\n**@returns** *COA.Cmd* new or added subcommand instance\n\n#### Cmd.opt\nCreate option for current command.<br>\n**@returns** *COA.Opt* `new` option instance\n\n#### Cmd.arg\nCreate argument for current command.<br>\n**@returns** *COA.Opt* `new` argument instance\n\n#### Cmd.act\nAdd (or set) action for current command.<br>\n**@param** *Function* `act` action function,\n    invoked in the context of command instance\n    and has the parameters:<br>\n        - *Object* `opts` parsed options<br>\n        - *Array* `args` parsed arguments<br>\n        - *Object* `res` actions result accumulator<br>\n    It can return rejected promise by Cmd.reject (in case of error)\n    or any other value treated as result.<br>\n**@param** *{Boolean}* [force=false] flag for set action instead add to existings<br>\n**@returns** *COA.Cmd* `this` instance (for chainability)\n\n#### Cmd.apply\nApply function with arguments in context of command instance.<br>\n**@param** *Function* `fn`<br>\n**@param** *Array* `args`<br>\n**@returns** *COA.Cmd* `this` instance (for chainability)\n\n#### Cmd.comp\nSet custom additional completion for current command.<br>\n**@param** *Function* `fn` completion generation function,\n    invoked in the context of command instance.\n    Accepts parameters:<br>\n        - *Object* `opts` completion options<br>\n    It can return promise or any other value treated as result.<br>\n**@returns** *COA.Cmd* `this` instance (for chainability)\n\n#### Cmd.helpful\nMake command \"helpful\", i.e. add -h --help flags for print usage.<br>\n**@returns** *COA.Cmd* `this` instance (for chainability)\n\n#### Cmd.completable\nAdds shell completion to command, adds \"completion\" subcommand, that makes all the magic.<br>\nMust be called only on root command.<br>\n**@returns** *COA.Cmd* `this` instance (for chainability)\n\n#### Cmd.usage\nBuild full usage text for current command instance.<br>\n**@returns** *String* `usage` text\n\n#### Cmd.run\nParse arguments from simple format like NodeJS process.argv\nand run ahead current program, i.e. call process.exit when all actions done.<br>\n**@param** *Array* `argv`<br>\n**@returns** *COA.Cmd* `this` instance (for chainability)\n\n#### Cmd.invoke\nInvoke specified (or current) command using provided options and arguments.<br>\n**@param** *String|Array* `cmds`  subcommand to invoke (optional)<br>\n**@param** *Object* `opts`  command options (optional)<br>\n**@param** *Object* `args`  command arguments (optional)<br>\n**@returns** *Q.Promise*\n\n#### Cmd.reject\nReturn reject of actions results promise.<br>\nUse in .act() for return with error.<br>\n**@param** *Object* `reason` reject reason<br>\n    You can customize toString() method and exitCode property\n    of reason object.<br>\n**@returns** *Q.promise* rejected promise\n\n#### Cmd.end\nFinish chain for current subcommand and return parent command instance.<br>\n**@returns** *COA.Cmd* `parent` command\n\n### Opt\nOption is a named entity. Options may have short and long keys for use from command line.<br>\n**@namespace**<br>\n**@class** Presents option\n\n#### Opt.name\nSet a canonical option identifier to be used anywhere in the API.<br>\n**@param** *String* `_name` option name<br>\n**@returns** *COA.Opt* `this` instance (for chainability)\n\n#### Opt.title\nSet a long description for option to be used anywhere in text messages.<br>\n**@param** *String* `_title` option title<br>\n**@returns** *COA.Opt* `this` instance (for chainability)\n\n#### Opt.short\nSet a short key for option to be used with one hyphen from command line.<br>\n**@param** *String* `_short`<br>\n**@returns** *COA.Opt* `this` instance (for chainability)\n\n#### Opt.long\nSet a short key for option to be used with double hyphens from command line.<br>\n**@param** *String* `_long`<br>\n**@returns** *COA.Opt* `this` instance (for chainability)\n\n#### Opt.flag\nMake an option boolean, i.e. option without value.<br>\n**@returns** *COA.Opt* `this` instance (for chainability)\n\n#### Opt.arr\nMakes an option accepts multiple values.<br>\nOtherwise, the value will be used by the latter passed.<br>\n**@returns** *COA.Opt* `this` instance (for chainability)\n\n#### Opt.req\nMakes an option req.<br>\n**@returns** *COA.Opt* `this` instance (for chainability)\n\n#### Opt.only\nMakes an option to act as a command,\ni.e. program will exit just after option action.<br>\n**@returns** *COA.Opt* `this` instance (for chainability)\n\n#### Opt.val\nSet a validation (or value) function for argument.<br>\nValue from command line passes through before becoming available from API.<br>\nUsing for validation and convertion simple types to any values.<br>\n**@param** *Function* `_val` validating function,\n    invoked in the context of option instance\n    and has one parameter with value from command line<br>\n**@returns** *COA.Opt* `this` instance (for chainability)\n\n#### Opt.def\nSet a default value for option.\nDefault value passed through validation function as ordinary value.<br>\n**@param** *Object* `_def`<br>\n**@returns** *COA.Opt* `this` instance (for chainability)\n\n#### Opt.input\nMake option value inputting stream.\nIt's add useful validation and shortcut for STDIN.\n**@returns** *{COA.Opt}* `this` instance (for chainability)\n\n#### Opt.output\nMake option value outputing stream.<br>\nIt's add useful validation and shortcut for STDOUT.<br>\n**@returns** *COA.Opt* `this` instance (for chainability)\n\n#### Opt.act\nAdd action for current option command.\nThis action is performed if the current option\nis present in parsed options (with any value).<br>\n**@param** *Function* `act` action function,\n    invoked in the context of command instance\n    and has the parameters:<br>\n        - *Object* `opts` parsed options<br>\n        - *Array* `args` parsed arguments<br>\n        - *Object* `res` actions result accumulator<br>\n    It can return rejected promise by Cmd.reject (in case of error)\n    or any other value treated as result.<br>\n**@returns** *COA.Opt* `this` instance (for chainability)\n\n#### Opt.comp\nSet custom additional completion for current option.<br>\n**@param** *Function* `fn` completion generation function,\n    invoked in the context of command instance.\n    Accepts parameters:<br>\n        - *Object* `opts` completion options<br>\n    It can return promise or any other value treated as result.<br>\n**@returns** *COA.Opt* `this` instance (for chainability)\n\n#### Opt.end\nFinish chain for current option and return parent command instance.<br>\n**@returns** *COA.Cmd* `parent` command\n\n\n### Arg\nArgument is a unnamed entity.<br>\nFrom command line arguments passed as list of unnamed values.\n\n#### Arg.name\nSet a canonical argument identifier to be used anywhere in text messages.<br>\n**@param** *String* `_name` argument name<br>\n**@returns** *COA.Arg* `this` instance (for chainability)\n\n#### Arg.title\nSet a long description for argument to be used anywhere in text messages.<br>\n**@param** *String* `_title` argument title<br>\n**@returns** *COA.Arg* `this` instance (for chainability)\n\n#### Arg.arr\nMakes an argument accepts multiple values.<br>\nOtherwise, the value will be used by the latter passed.<br>\n**@returns** *COA.Arg* `this` instance (for chainability)\n\n#### Arg.req\nMakes an argument req.<br>\n**@returns** *COA.Arg* `this` instance (for chainability)\n\n#### Arg.val\nSet a validation (or value) function for argument.<br>\nValue from command line passes through before becoming available from API.<br>\nUsing for validation and convertion simple types to any values.<br>\n**@param** *Function* `_val` validating function,\n    invoked in the context of argument instance\n    and has one parameter with value from command line<br>\n**@returns** *COA.Arg* `this` instance (for chainability)\n\n#### Arg.def\nSet a default value for argument.\nDefault value passed through validation function as ordinary value.<br>\n**@param** *Object* `_def`<br>\n**@returns** *COA.Arg* `this` instance (for chainability)\n\n#### Arg.output\nMake argument value outputing stream.<br>\nIt's add useful validation and shortcut for STDOUT.<br>\n**@returns** *COA.Arg* `this` instance (for chainability)\n\n#### Arg.comp\nSet custom additional completion for current argument.<br>\n**@param** *Function* `fn` completion generation function,\n    invoked in the context of command instance.\n    Accepts parameters:<br>\n        - *Object* `opts` completion options<br>\n    It can return promise or any other value treated as result.<br>\n**@returns** *COA.Arg* `this` instance (for chainability)\n\n#### Arg.end\nFinish chain for current option and return parent command instance.<br>\n**@returns** *COA.Cmd* `parent` command\n","_attachments":{},"homepage":"http://github.com/veged/coa","bugs":{"url":"https://github.com/veged/coa/issues"},"license":"MIT"}