{"_id":"opt-cli","_rev":"438653","name":"opt-cli","description":"Execute CLI Statements based upon Opt-In / Opt-Out Rules.","dist-tags":{"latest":"1.6.0"},"maintainers":[{"name":"ta2edchimp","email":"kontakt@andreaswindt.de"}],"time":{"modified":"2021-08-05T06:28:11.000Z","created":"2016-03-21T23:47:13.175Z","1.6.0":"2017-10-20T13:22:24.763Z","1.5.2":"2017-08-18T15:44:47.276Z","1.5.1":"2016-06-26T10:41:43.082Z","1.5.0":"2016-06-26T10:16:07.395Z","1.4.2":"2016-04-20T13:39:17.590Z","1.4.1":"2016-04-16T13:04:14.282Z","1.4.0":"2016-03-29T16:56:32.698Z","1.3.0":"2016-03-24T18:33:47.832Z","1.2.0":"2016-03-23T19:01:09.315Z","1.1.1":"2016-03-22T17:28:37.206Z","1.1.0":"2016-03-22T11:43:41.715Z","1.0.0":"2016-03-21T23:47:13.175Z"},"users":{},"author":{"name":"Andreas Windt","email":"email@andreaswindt.com","url":"http://andreaswindt.com"},"repository":{"type":"git","url":"git+https://github.com/ta2edchimp/opt-cli.git"},"versions":{"1.6.0":{"name":"opt-cli","version":"1.6.0","description":"Execute CLI Statements based upon Opt-In / Opt-Out Rules.","main":"lib/index.js","bin":{"opt":"bin/index.js"},"engines":{"node":">=4"},"scripts":{"commit":"git-cz","update-contributors":"all-contributors generate","validate":"npm-run-all --parallel lint cover --sequential check-coverage","lint":"eslint .","cover":"nyc --all --reporter=lcov --reporter=text ava","test":"ava","check-coverage":"nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","report-coverage":"cat ./coverage/lcov.info | node_modules/.bin/codecov","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"repository":{"type":"git","url":"git+https://github.com/ta2edchimp/opt-cli.git"},"keywords":["executer","cli","opt-in","opt-out"],"author":{"name":"Andreas Windt","email":"email@andreaswindt.com","url":"http://andreaswindt.com"},"license":"MIT","bugs":{"url":"https://github.com/ta2edchimp/opt-cli/issues"},"homepage":"https://github.com/ta2edchimp/opt-cli#readme","dependencies":{"commander":"2.11.0","lodash.clone":"4.5.0","manage-path":"2.0.0","spawn-command":"0.0.2-1"},"devDependencies":{"all-contributors-cli":"4.4.0","ava":"0.21.0","codecov":"2.3.0","commitizen":"2.9.6","cz-conventional-changelog":"2.0.0","eslint":"4.4.1","eslint-config-idiomatic":"2.1.2","eslint-config-ta2edchimp":"1.1.2","ghooks":"2.0.0","npm-run-all":"4.0.2","nyc":"11.1.0","proxyquire":"1.8.0","semantic-release":"6.3.6","validate-commit-msg":"2.14.0"},"config":{"ghooks":{"commit-msg":"validate-commit-msg","pre-commit":"npm run validate"},"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"nyc":{"include":["bin/**/*","lib/**/*"]},"gitHead":"6ee9c663ece1cc63cc88f504c377e5d3a1aadab4","_id":"opt-cli@1.6.0","_npmVersion":"5.4.2","_nodeVersion":"8.7.0","_npmUser":{"name":"ta2edchimp","email":"kontakt@andreaswindt.de"},"dist":{"shasum":"79d7dc2ccb180c3f05c34b077a34a37618b2a273","size":7425,"noattachment":false,"key":"/opt-cli/-/opt-cli-1.6.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/opt-cli/download/opt-cli-1.6.0.tgz"},"maintainers":[{"name":"ta2edchimp","email":"kontakt@andreaswindt.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opt-cli-1.6.0.tgz_1508505743801_0.04164732969366014"},"directories":{},"publish_time":1508505744763,"_hasShrinkwrap":false,"_cnpm_publish_time":1508505744763},"1.5.2":{"name":"opt-cli","version":"1.5.2","description":"Execute CLI Statements based upon Opt-In / Opt-Out Rules.","main":"lib/index.js","bin":{"opt":"bin/index.js"},"engines":{"node":">=4"},"scripts":{"commit":"git-cz","update-contributors":"all-contributors generate","validate":"npm-run-all --parallel lint cover --sequential check-coverage","lint":"eslint .","cover":"nyc --all --reporter=lcov --reporter=text ava","test":"ava","check-coverage":"nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","report-coverage":"cat ./coverage/lcov.info | node_modules/.bin/codecov","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"repository":{"type":"git","url":"git+https://github.com/ta2edchimp/opt-cli.git"},"keywords":["executer","cli","opt-in","opt-out"],"author":{"name":"Andreas Windt","email":"email@andreaswindt.com","url":"http://andreaswindt.com"},"license":"MIT","bugs":{"url":"https://github.com/ta2edchimp/opt-cli/issues"},"homepage":"https://github.com/ta2edchimp/opt-cli#readme","dependencies":{"commander":"2.11.0","lodash.clone":"4.5.0","manage-path":"2.0.0","spawn-command":"0.0.2-1"},"devDependencies":{"all-contributors-cli":"4.4.0","ava":"0.21.0","codecov":"2.3.0","commitizen":"2.9.6","cz-conventional-changelog":"2.0.0","eslint":"4.4.1","eslint-config-idiomatic":"2.1.2","eslint-config-ta2edchimp":"1.1.2","ghooks":"2.0.0","npm-run-all":"4.0.2","nyc":"11.1.0","proxyquire":"1.8.0","semantic-release":"6.3.6","validate-commit-msg":"2.14.0"},"config":{"ghooks":{"commit-msg":"validate-commit-msg","pre-commit":"npm run validate"},"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"nyc":{"include":["bin/**/*","lib/**/*"]},"gitHead":"ae0dcb4da5df9eabc3024a31793f88e1b17776d6","_id":"opt-cli@1.5.2","_shasum":"39ef09a200bfb53ec8934cb24096f142b1bdd67e","_from":".","_npmVersion":"4.6.1","_nodeVersion":"6.11.1","_npmUser":{"name":"ta2edchimp","email":"kontakt@andreaswindt.de"},"dist":{"shasum":"39ef09a200bfb53ec8934cb24096f142b1bdd67e","size":9092,"noattachment":false,"key":"/opt-cli/-/opt-cli-1.5.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/opt-cli/download/opt-cli-1.5.2.tgz"},"maintainers":[{"name":"ta2edchimp","email":"kontakt@andreaswindt.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opt-cli-1.5.2.tgz_1503071086255_0.4379610512405634"},"directories":{},"publish_time":1503071087276,"_cnpm_publish_time":1503071087276,"_hasShrinkwrap":false},"1.5.1":{"name":"opt-cli","version":"1.5.1","description":"Execute CLI Statements based upon Opt-In / Opt-Out Rules.","main":"lib/index.js","bin":{"opt":"bin/index.js"},"scripts":{"commit":"git-cz","update-contributors":"all-contributors generate","validate":"npm-run-all --parallel lint cover --sequential check-coverage","lint":"eslint .","cover":"nyc --all --reporter=lcov --reporter=text ava","test":"ava","check-coverage":"nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","report-coverage":"cat ./coverage/lcov.info | node_modules/.bin/codecov","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"repository":{"type":"git","url":"git+https://github.com/ta2edchimp/opt-cli.git"},"keywords":["executer","cli","opt-in","opt-out"],"author":{"name":"Andreas Windt","email":"email@andreaswindt.com","url":"http://andreaswindt.com"},"license":"MIT","bugs":{"url":"https://github.com/ta2edchimp/opt-cli/issues"},"homepage":"https://github.com/ta2edchimp/opt-cli#readme","dependencies":{"commander":"2.9.0","lodash.clone":"4.3.2","manage-path":"2.0.0","spawn-command":"0.0.2-1"},"devDependencies":{"all-contributors-cli":"3.0.5","ava":"0.15.2","codecov":"1.0.1","commitizen":"2.8.2","cz-conventional-changelog":"1.1.6","eslint":"2.13.1","eslint-config-idiomatic":"2.1.0","eslint-config-ta2edchimp":"1.1.1","ghooks":"1.2.4","npm-run-all":"2.2.2","nyc":"6.6.1","proxyquire":"1.7.9","semantic-release":"4.3.5","validate-commit-msg":"2.6.1"},"config":{"ghooks":{"commit-msg":"validate-commit-msg","pre-commit":"npm run validate"},"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"nyc":{"include":["bin/**/*","lib/**/*"]},"gitHead":"3507a3840216283b562c2df28dcc85a53ec4ee57","_id":"opt-cli@1.5.1","_shasum":"04db447b13c96b992eb31685266f4ed0d9736dc2","_from":".","_npmVersion":"3.10.2","_nodeVersion":"4.4.6","_npmUser":{"name":"ta2edchimp","email":"kontakt@andreaswindt.de"},"dist":{"shasum":"04db447b13c96b992eb31685266f4ed0d9736dc2","size":8753,"noattachment":false,"key":"/opt-cli/-/opt-cli-1.5.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/opt-cli/download/opt-cli-1.5.1.tgz"},"maintainers":[{"name":"ta2edchimp","email":"kontakt@andreaswindt.de"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/opt-cli-1.5.1.tgz_1466937700515_0.6848948167171329"},"directories":{},"publish_time":1466937703082,"_cnpm_publish_time":1466937703082,"_hasShrinkwrap":false},"1.5.0":{"name":"opt-cli","version":"1.5.0","description":"Execute CLI Statements based upon Opt-In / Opt-Out Rules.","main":"lib/index.js","bin":{"opt":"bin/index.js"},"scripts":{"commit":"git-cz","update-contributors":"all-contributors generate","validate":"npm-run-all --parallel lint cover --sequential check-coverage","lint":"eslint .","cover":"nyc --all --reporter=lcov --reporter=text ava","test":"ava","check-coverage":"nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","report-coverage":"cat ./coverage/lcov.info | node_modules/.bin/codecov","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"repository":{"type":"git","url":"git+https://github.com/ta2edchimp/opt-cli.git"},"keywords":["executer","cli","opt-in","opt-out"],"author":{"name":"Andreas Windt","email":"email@andreaswindt.com","url":"http://andreaswindt.com"},"license":"MIT","bugs":{"url":"https://github.com/ta2edchimp/opt-cli/issues"},"homepage":"https://github.com/ta2edchimp/opt-cli#readme","dependencies":{"commander":"2.9.0","lodash.clone":"4.3.2","manage-path":"2.0.0","spawn-command":"0.0.2-1"},"devDependencies":{"all-contributors-cli":"3.0.5","ava":"0.15.2","codecov":"1.0.1","commitizen":"2.8.2","cz-conventional-changelog":"1.1.6","eslint":"2.13.1","eslint-config-idiomatic":"2.1.0","eslint-config-ta2edchimp":"1.1.1","ghooks":"1.2.4","npm-run-all":"2.2.2","nyc":"6.6.1","proxyquire":"1.7.9","semantic-release":"4.3.5","validate-commit-msg":"2.6.1"},"config":{"ghooks":{"commit-msg":"validate-commit-msg","pre-commit":"npm run validate"},"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"nyc":{"include":["bin/**/*","lib/**/*"]},"gitHead":"5b5c02109b9828b7bd7eebb63ba88ef1a831642c","_id":"opt-cli@1.5.0","_shasum":"b31db5de64ed76f5b3d75a3cb923b70b882a59f8","_from":".","_npmVersion":"3.10.2","_nodeVersion":"4.4.6","_npmUser":{"name":"ta2edchimp","email":"kontakt@andreaswindt.de"},"dist":{"shasum":"b31db5de64ed76f5b3d75a3cb923b70b882a59f8","size":8740,"noattachment":false,"key":"/opt-cli/-/opt-cli-1.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/opt-cli/download/opt-cli-1.5.0.tgz"},"maintainers":[{"name":"ta2edchimp","email":"kontakt@andreaswindt.de"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/opt-cli-1.5.0.tgz_1466936164996_0.381806290242821"},"directories":{},"publish_time":1466936167395,"_cnpm_publish_time":1466936167395,"_hasShrinkwrap":false},"1.4.2":{"name":"opt-cli","version":"1.4.2","description":"Execute CLI Statements based upon Opt-In / Opt-Out Rules.","main":"lib/index.js","bin":{"opt":"bin/index.js"},"scripts":{"commit":"git-cz","update-contributors":"all-contributors generate","validate":"npm-run-all --parallel lint cover --sequential check-coverage","lint":"eslint .","cover":"nyc --all --reporter=lcov --reporter=text ava","test":"ava","check-coverage":"nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","report-coverage":"cat ./coverage/lcov.info | node_modules/.bin/codecov","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"repository":{"type":"git","url":"git+https://github.com/ta2edchimp/opt-cli.git"},"keywords":["executer","cli","opt-in","opt-out"],"author":{"name":"Andreas Windt","email":"email@andreaswindt.com","url":"http://andreaswindt.com"},"license":"MIT","bugs":{"url":"https://github.com/ta2edchimp/opt-cli/issues"},"homepage":"https://github.com/ta2edchimp/opt-cli#readme","dependencies":{"cli":"0.11.2","lodash.clone":"4.3.2","manage-path":"2.0.0","spawn-command":"0.0.2-1"},"devDependencies":{"all-contributors-cli":"2.0.0-beta8","ava":"0.14.0","codecov":"1.0.1","commitizen":"2.8.0","cz-conventional-changelog":"1.1.5","eslint":"2.8.0","eslint-config-idiomatic":"2.0.0","eslint-config-ta2edchimp":"1.1.1","ghooks":"1.2.1","npm-run-all":"1.7.0","nyc":"6.4.0","proxyquire":"1.7.4","semantic-release":"4.3.5","validate-commit-msg":"2.6.1"},"config":{"ghooks":{"commit-msg":"validate-commit-msg","pre-commit":"npm run validate"},"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"nyc":{"include":["bin/**/*","lib/**/*"]},"gitHead":"39c60ed64194272e874183cf3e449c6112fc9772","_id":"opt-cli@1.4.2","_shasum":"1ed8b4070e857f6a4351cafb76a9661594fbc9ad","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.10.1","_npmUser":{"name":"ta2edchimp","email":"kontakt@andreaswindt.de"},"dist":{"shasum":"1ed8b4070e857f6a4351cafb76a9661594fbc9ad","size":8453,"noattachment":false,"key":"/opt-cli/-/opt-cli-1.4.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/opt-cli/download/opt-cli-1.4.2.tgz"},"maintainers":[{"name":"ta2edchimp","email":"kontakt@andreaswindt.de"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/opt-cli-1.4.2.tgz_1461159556648_0.7101067514158785"},"directories":{},"publish_time":1461159557590,"_cnpm_publish_time":1461159557590,"_hasShrinkwrap":false},"1.4.1":{"name":"opt-cli","version":"1.4.1","description":"Execute CLI Statements based upon Opt-In / Opt-Out Rules.","main":"lib/index.js","bin":{"opt":"bin/index.js"},"scripts":{"commit":"git-cz","update-contributors":"all-contributors generate","validate":"npm-run-all --parallel lint cover --sequential check-coverage","lint":"eslint .","cover":"nyc --all --reporter=lcov --reporter=text ava","test":"ava","check-coverage":"nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","report-coverage":"cat ./coverage/lcov.info | node_modules/.bin/codecov","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"repository":{"type":"git","url":"git+https://github.com/ta2edchimp/opt-cli.git"},"keywords":["executer","cli","opt-in","opt-out"],"author":{"name":"Andreas Windt","email":"email@andreaswindt.com","url":"http://andreaswindt.com"},"license":"MIT","bugs":{"url":"https://github.com/ta2edchimp/opt-cli/issues"},"homepage":"https://github.com/ta2edchimp/opt-cli#readme","dependencies":{"cli":"0.11.2","lodash.clone":"4.3.2","manage-path":"2.0.0","spawn-command":"0.0.2-1"},"devDependencies":{"all-contributors-cli":"2.0.0-beta8","ava":"0.14.0","codecov":"1.0.1","commitizen":"2.7.6","cz-conventional-changelog":"1.1.5","eslint":"2.8.0","eslint-config-ta2edchimp":"1.1.0","ghooks":"1.2.1","npm-run-all":"1.7.0","nyc":"6.4.0","proxyquire":"1.7.4","semantic-release":"4.3.5","validate-commit-msg":"2.6.0"},"config":{"ghooks":{"commit-msg":"validate-commit-msg","pre-commit":"npm run validate"},"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"nyc":{"include":["bin/**/*","lib/**/*"]},"gitHead":"1feac7ca0c45c0ff6f0f1251effa7f6e0363043a","_id":"opt-cli@1.4.1","_shasum":"cef1d1310ba686957d8dbb5ba5c32f155a14f9a1","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.10.1","_npmUser":{"name":"ta2edchimp","email":"kontakt@andreaswindt.de"},"dist":{"shasum":"cef1d1310ba686957d8dbb5ba5c32f155a14f9a1","size":8500,"noattachment":false,"key":"/opt-cli/-/opt-cli-1.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/opt-cli/download/opt-cli-1.4.1.tgz"},"maintainers":[{"name":"ta2edchimp","email":"kontakt@andreaswindt.de"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/opt-cli-1.4.1.tgz_1460811853247_0.2679462649393827"},"directories":{},"publish_time":1460811854282,"_cnpm_publish_time":1460811854282,"_hasShrinkwrap":false},"1.4.0":{"name":"opt-cli","version":"1.4.0","description":"Execute CLI Statements based upon Opt-In / Out-Out Rules.","main":"lib/index.js","bin":{"opt":"bin/index.js"},"scripts":{"commit":"git-cz","update-contributors":"all-contributors generate","validate":"npm-run-all --parallel lint cover --sequential check-coverage","lint":"eslint .","cover":"nyc --all --reporter=lcov --reporter=text ava","test":"ava","check-coverage":"nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","report-coverage":"cat ./coverage/lcov.info | node_modules/.bin/codecov","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"repository":{"type":"git","url":"git+https://github.com/ta2edchimp/opt-cli.git"},"keywords":["executer","cli","opt-in","opt-out"],"author":{"name":"Andreas Windt","email":"email@andreaswindt.com","url":"http://andreaswindt.com"},"license":"MIT","bugs":{"url":"https://github.com/ta2edchimp/opt-cli/issues"},"homepage":"https://github.com/ta2edchimp/opt-cli#readme","dependencies":{"cli":"0.11.2","lodash.clone":"4.3.1","manage-path":"2.0.0","spawn-command":"0.0.2-1"},"devDependencies":{"all-contributors-cli":"2.0.0-beta6","ava":"0.13.0","codecov":"1.0.1","commitizen":"2.7.3","cz-conventional-changelog":"1.1.5","eslint":"2.4.0","eslint-config-ta2edchimp":"1.1.0","ghooks":"1.0.3","npm-run-all":"1.6.0","nyc":"6.1.1","proxyquire":"1.7.4","semantic-release":"4.3.5","validate-commit-msg":"2.4.1"},"config":{"ghooks":{"commit-msg":"validate-commit-msg","pre-commit":"npm run validate"},"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"nyc":{"include":["bin/**/*","lib/**/*"]},"gitHead":"c0a633d9ec663f30a84538840b4c2edad838ab13","_id":"opt-cli@1.4.0","_shasum":"8848a34982c38d212a7de7fbe49294bebecc157d","_from":".","_npmVersion":"3.8.3","_nodeVersion":"4.4.1","_npmUser":{"name":"ta2edchimp","email":"kontakt@andreaswindt.de"},"dist":{"shasum":"8848a34982c38d212a7de7fbe49294bebecc157d","size":8439,"noattachment":false,"key":"/opt-cli/-/opt-cli-1.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/opt-cli/download/opt-cli-1.4.0.tgz"},"maintainers":[{"name":"ta2edchimp","email":"kontakt@andreaswindt.de"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/opt-cli-1.4.0.tgz_1459270590049_0.34479171712882817"},"directories":{},"publish_time":1459270592698,"_cnpm_publish_time":1459270592698,"_hasShrinkwrap":false},"1.3.0":{"name":"opt-cli","version":"1.3.0","description":"Execute CLI Statements based upon Opt-In / Out-Out Rules.","main":"lib/index.js","bin":{"opt":"bin/index.js"},"scripts":{"commit":"git-cz","update-contributors":"all-contributors generate","validate":"npm-run-all --parallel lint cover --sequential check-coverage","lint":"eslint .","cover":"nyc --all --reporter=lcov --reporter=text ava","test":"ava","check-coverage":"nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","report-coverage":"cat ./coverage/lcov.info | node_modules/.bin/codecov","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"repository":{"type":"git","url":"git+https://github.com/ta2edchimp/opt-cli.git"},"keywords":["executer","cli","opt-in","opt-out"],"author":{"name":"Andreas Windt","email":"email@andreaswindt.com","url":"http://andreaswindt.com"},"license":"MIT","bugs":{"url":"https://github.com/ta2edchimp/opt-cli/issues"},"homepage":"https://github.com/ta2edchimp/opt-cli#readme","dependencies":{"cli":"0.11.2","lodash.clone":"4.3.1","manage-path":"2.0.0","spawn-command":"0.0.2-1"},"devDependencies":{"all-contributors-cli":"2.0.0-beta6","ava":"0.13.0","codecov":"1.0.1","commitizen":"2.7.3","cz-conventional-changelog":"1.1.5","eslint":"2.4.0","eslint-config-ta2edchimp":"1.1.0","ghooks":"1.0.3","npm-run-all":"1.6.0","nyc":"6.1.1","proxyquire":"1.7.4","semantic-release":"4.3.5","validate-commit-msg":"2.4.1"},"config":{"ghooks":{"commit-msg":"validate-commit-msg","pre-commit":"npm run validate"},"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"nyc":{"include":["bin/**/*","lib/**/*"]},"gitHead":"a3d82ea266d50c51a6538111dcdc4bb15bb2bd4e","_id":"opt-cli@1.3.0","_shasum":"106920bd5c1f61aa82dd2c9ebe9e623320e1581b","_from":".","_npmVersion":"3.8.2","_nodeVersion":"4.4.1","_npmUser":{"name":"ta2edchimp","email":"kontakt@andreaswindt.de"},"dist":{"shasum":"106920bd5c1f61aa82dd2c9ebe9e623320e1581b","size":7952,"noattachment":false,"key":"/opt-cli/-/opt-cli-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/opt-cli/download/opt-cli-1.3.0.tgz"},"maintainers":[{"name":"ta2edchimp","email":"kontakt@andreaswindt.de"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/opt-cli-1.3.0.tgz_1458844425591_0.36086339433677495"},"directories":{},"publish_time":1458844427832,"_cnpm_publish_time":1458844427832,"_hasShrinkwrap":false},"1.2.0":{"name":"opt-cli","version":"1.2.0","description":"Execute CLI Statements based upon Opt-In / Out-Out Rules.","main":"lib/index.js","bin":{"opt":"bin/index.js"},"scripts":{"commit":"git-cz","update-contributors":"all-contributors generate","validate":"npm-run-all --parallel lint cover --sequential check-coverage","lint":"eslint .","cover":"nyc --all --reporter=lcov --reporter=text ava","test":"ava","check-coverage":"nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","report-coverage":"cat ./coverage/lcov.info | node_modules/.bin/codecov","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"repository":{"type":"git","url":"git+https://github.com/ta2edchimp/opt-cli.git"},"keywords":["executer","cli","opt-in","opt-out"],"author":{"name":"Andreas Windt","email":"email@andreaswindt.com","url":"http://andreaswindt.com"},"license":"MIT","bugs":{"url":"https://github.com/ta2edchimp/opt-cli/issues"},"homepage":"https://github.com/ta2edchimp/opt-cli#readme","dependencies":{"cli":"0.11.2","lodash.clone":"4.3.1","manage-path":"2.0.0","spawn-command":"0.0.2-1"},"devDependencies":{"all-contributors-cli":"2.0.0-beta6","ava":"0.13.0","codecov":"1.0.1","commitizen":"2.7.3","cz-conventional-changelog":"1.1.5","eslint":"2.4.0","eslint-config-idiomatic":"2.0.0","ghooks":"1.0.3","npm-run-all":"1.6.0","nyc":"6.1.1","proxyquire":"1.7.4","semantic-release":"4.3.5","validate-commit-msg":"2.4.1"},"config":{"ghooks":{"commit-msg":"validate-commit-msg","pre-commit":"npm run validate"},"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"nyc":{"include":["bin/**/*","lib/**/*"]},"gitHead":"a6b279348681ad27ddb042bbd65a08640912ec81","_id":"opt-cli@1.2.0","_shasum":"c74d667f2e19bde526791f1cbb2d57e6d01f9df8","_from":".","_npmVersion":"3.8.2","_nodeVersion":"4.4.1","_npmUser":{"name":"ta2edchimp","email":"kontakt@andreaswindt.de"},"dist":{"shasum":"c74d667f2e19bde526791f1cbb2d57e6d01f9df8","size":7546,"noattachment":false,"key":"/opt-cli/-/opt-cli-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/opt-cli/download/opt-cli-1.2.0.tgz"},"maintainers":[{"name":"ta2edchimp","email":"kontakt@andreaswindt.de"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/opt-cli-1.2.0.tgz_1458759666771_0.21319292788393795"},"directories":{},"publish_time":1458759669315,"_cnpm_publish_time":1458759669315,"_hasShrinkwrap":false},"1.1.1":{"name":"opt-cli","version":"1.1.1","description":"Execute CLI Statements based upon Opt-In / Out-Out Rules.","main":"lib/index.js","bin":{"opt":"bin/index.js"},"scripts":{"commit":"git-cz","update-contributors":"all-contributors generate","validate":"npm-run-all --parallel lint cover --sequential check-coverage","lint":"eslint .","cover":"nyc --reporter=lcov --reporter=text ava","test":"ava","check-coverage":"nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","report-coverage":"cat ./coverage/lcov.info | node_modules/.bin/codecov","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"repository":{"type":"git","url":"git+https://github.com/ta2edchimp/opt-cli.git"},"keywords":["executer","cli","opt-in","opt-out"],"author":{"name":"Andreas Windt","email":"email@andreaswindt.com","url":"http://andreaswindt.com"},"license":"MIT","bugs":{"url":"https://github.com/ta2edchimp/opt-cli/issues"},"homepage":"https://github.com/ta2edchimp/opt-cli#readme","dependencies":{"cli":"0.11.2","lodash.clone":"4.3.1","manage-path":"2.0.0","spawn-command":"0.0.2-1"},"devDependencies":{"all-contributors-cli":"2.0.0-beta3","ava":"0.13.0","codecov":"1.0.1","cz-conventional-changelog":"1.1.5","eslint":"2.4.0","eslint-config-idiomatic":"2.0.0","ghooks":"1.0.3","npm-run-all":"1.6.0","nyc":"6.1.1","proxyquire":"1.7.4","semantic-release":"4.3.5","validate-commit-msg":"2.4.1"},"config":{"ghooks":{"commit-msg":"validate-commit-msg","pre-commit":"npm run validate"},"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"nyc":{"exclude":["test/**/*"]},"gitHead":"d37d16a9261f3272f5c9e1e704f4ac154c80b593","_id":"opt-cli@1.1.1","_shasum":"f349101d8f79428b30023e657143b59d81f29cdd","_from":".","_npmVersion":"3.8.2","_nodeVersion":"4.4.0","_npmUser":{"name":"ta2edchimp","email":"kontakt@andreaswindt.de"},"dist":{"shasum":"f349101d8f79428b30023e657143b59d81f29cdd","size":7261,"noattachment":false,"key":"/opt-cli/-/opt-cli-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/opt-cli/download/opt-cli-1.1.1.tgz"},"maintainers":[{"name":"ta2edchimp","email":"kontakt@andreaswindt.de"}],"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/opt-cli-1.1.1.tgz_1458667714904_0.4863500166684389"},"directories":{},"publish_time":1458667717206,"_cnpm_publish_time":1458667717206,"_hasShrinkwrap":false},"1.1.0":{"name":"opt-cli","version":"1.1.0","description":"Execute CLI Statements based upon Opt-In / Out-Out Rules.","main":"lib/index.js","bin":{"opt":"bin/index.js"},"scripts":{"commit":"git-cz","update-contributors":"all-contributors generate","validate":"npm-run-all --parallel lint cover --sequential check-coverage","lint":"eslint .","cover":"nyc --reporter=lcov --reporter=text ava","test":"ava","check-coverage":"nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","report-coverage":"cat ./coverage/lcov.info | node_modules/.bin/codecov","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"repository":{"type":"git","url":"git+https://github.com/ta2edchimp/opt-cli.git"},"keywords":["executer","cli","opt-in","opt-out"],"author":{"name":"Andreas Windt","email":"email@andreaswindt.com","url":"http://andreaswindt.com"},"license":"MIT","bugs":{"url":"https://github.com/ta2edchimp/opt-cli/issues"},"homepage":"https://github.com/ta2edchimp/opt-cli#readme","dependencies":{"cli":"0.11.2","lodash.clone":"4.3.1","manage-path":"2.0.0","spawn-command":"0.0.2-1"},"devDependencies":{"all-contributors-cli":"2.0.0-beta3","ava":"0.13.0","codecov":"1.0.1","cz-conventional-changelog":"1.1.5","eslint":"2.4.0","eslint-config-idiomatic":"2.0.0","ghooks":"1.0.3","npm-run-all":"1.6.0","nyc":"6.1.1","semantic-release":"4.3.5","validate-commit-msg":"2.4.1"},"config":{"ghooks":{"commit-msg":"validate-commit-msg","pre-commit":"npm run validate"},"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"nyc":{"exclude":["test/**/*"]},"gitHead":"4863bdbc8a98d6d87eff612f218d9c7dfe2b1e7f","_id":"opt-cli@1.1.0","_shasum":"d2df712263909a1ee3b826dd6983de89d77cb614","_from":".","_npmVersion":"3.8.2","_nodeVersion":"4.4.0","_npmUser":{"name":"ta2edchimp","email":"kontakt@andreaswindt.de"},"dist":{"shasum":"d2df712263909a1ee3b826dd6983de89d77cb614","size":6609,"noattachment":false,"key":"/opt-cli/-/opt-cli-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/opt-cli/download/opt-cli-1.1.0.tgz"},"maintainers":[{"name":"ta2edchimp","email":"kontakt@andreaswindt.de"}],"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/opt-cli-1.1.0.tgz_1458647019220_0.7267033827956766"},"directories":{},"publish_time":1458647021715,"_cnpm_publish_time":1458647021715,"_hasShrinkwrap":false},"1.0.0":{"name":"opt-cli","version":"1.0.0","description":"Execute CLI Statements based upon Opt-In / Out-Out Rules.","main":"lib/index.js","bin":{"opt":"bin/index.js"},"scripts":{"commit":"git-cz","update-contributors":"all-contributors generate","validate":"npm-run-all --parallel lint cover --sequential check-coverage","lint":"eslint .","cover":"nyc --reporter=lcov --reporter=text ava","test":"ava","check-coverage":"nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"repository":{"type":"git","url":"git+https://github.com/ta2edchimp/opt-cli.git"},"keywords":["executer","cli","opt-in","opt-out"],"author":{"name":"Andreas Windt","email":"email@andreaswindt.com","url":"http://andreaswindt.com"},"license":"MIT","bugs":{"url":"https://github.com/ta2edchimp/opt-cli/issues"},"homepage":"https://github.com/ta2edchimp/opt-cli#readme","dependencies":{"cli":"0.11.2"},"devDependencies":{"all-contributors-cli":"2.0.0-beta3","ava":"0.13.0","cz-conventional-changelog":"1.1.5","eslint":"2.4.0","eslint-config-idiomatic":"2.0.0","ghooks":"1.0.3","npm-run-all":"1.6.0","nyc":"6.1.1","validate-commit-msg":"2.4.1","semantic-release":"4.3.5"},"config":{"ghooks":{"commit-msg":"validate-commit-msg","pre-commit":"npm run validate"},"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"nyc":{"exclude":["test/**/*"]},"gitHead":"76ffd907deb2199f6cc2403b695d727961a07811","_id":"opt-cli@1.0.0","_shasum":"cf7db0a784d85f20021e767e5d17d4cfe694b7cb","_from":".","_npmVersion":"3.8.2","_nodeVersion":"4.4.0","_npmUser":{"name":"ta2edchimp","email":"kontakt@andreaswindt.de"},"dist":{"shasum":"cf7db0a784d85f20021e767e5d17d4cfe694b7cb","size":6233,"noattachment":false,"key":"/opt-cli/-/opt-cli-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/opt-cli/download/opt-cli-1.0.0.tgz"},"maintainers":[{"name":"ta2edchimp","email":"kontakt@andreaswindt.de"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/opt-cli-1.0.0.tgz_1458604030712_0.8763357994612306"},"directories":{},"publish_time":1458604033175,"_cnpm_publish_time":1458604033175,"_hasShrinkwrap":false}},"readme":"# opt-cli\nExecute CLI Statements based upon opt-in / out-out Rules.\n\n[![version](https://img.shields.io/npm/v/opt-cli.svg?style=flat-square)](http://npm.im/opt-cli)\n[![Build Status](https://img.shields.io/travis/ta2edchimp/opt-cli/master.svg?style=flat-square)](https://travis-ci.org/ta2edchimp/opt-cli)\n[![Code Coverage](https://img.shields.io/codecov/c/github/ta2edchimp/opt-cli.svg?style=flat-square)](https://codecov.io/github/ta2edchimp/opt-cli)\n[![Dependencies status](https://img.shields.io/david/ta2edchimp/opt-cli.svg?style=flat-square)](https://david-dm.org/ta2edchimp/opt-cli#info=dependencies)\n\n[![MIT License](https://img.shields.io/npm/l/opt-cli.svg?style=flat-square)](http://opensource.org/licenses/MIT)\n[![downloads](https://img.shields.io/npm/dm/opt-cli.svg?style=flat-square)](http://npm-stat.com/charts.html?package=opt-cli&from=2016-03-20)\n[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=flat-square)](https://github.com/semantic-release/semantic-release)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)\n[![All Contributors](https://img.shields.io/badge/all_contributors-5-orange.svg?style=flat-square)](#contributors)\n\n## Installation\n\nSimply install locally as a development dependency to your project's package:\n\n```\nnpm install --save-dev opt-cli\n```\n\n## Intended usage\nOpting in/out of a configured tasks, **best use case is for ghooks**.\n[This discussion](https://github.com/gtramontina/ghooks/issues/48#issuecomment-194002689) is the main motivation behind this module.\n\nYou can check out the [eslint-find-new-rules/package.json](https://github.com/kentcdodds/eslint-find-new-rules/blob/master/package.json#L67) for reference.\n\n### `opt --in`\n\n```JSON\n\"config\": {\n  \"ghooks\": {\n    \"pre-commit\": \"opt --in pre-commit --exec 'npm run validate'\"\n  }\n},\n```\n\nWhile `commit`ing, `npm run validate` **will not be executed** by default.\nHowever, one can **opt in by creating a `.opt-in` file in the root of the project, with the content `pre-commit`**\n\n#### `.opt-in`\n\nEach line in the `.opt-in` file, is the keyword used after the `opt --in` rule.\n\nSo for the above example, it's `pre-commit`\n\n```\ncat .opt-in\n# \"ghooks\": {\n#   \"pre-commit\": \"opt --in pre-commit --exec 'npm run validate'\"\n# }\npre-commit # the keyword used after the opt --in command\n```\n\n### `opt --out`\n\n`opt --out` works exactly, the opposite way of `opt --in`.\n\n```JSON\n\"config\": {\n  \"ghooks\": {\n    \"pre-commit\": \"opt --out pre-commit --exec 'npm run validate'\"\n  }\n},\n```\n\nIn this case, `npm run validate` **will be executed** before any changes can be `commit`ed.\nIn order to **opt out, you have to create a `.opt-out` file in the root of the project, with the content `pre-commit`**\n\n#### `.opt-out`\n\nSimilar to `.opt-in` file, each line in `.opt-out` file, is the keyword used after the `opt --out` rule.\n\nSo for the above example, it's `pre-commit`\n\n```\ncat .opt-out\n# \"ghooks\": {\n#   \"pre-commit\": \"opt --out pre-commit --exec 'npm run validate'\"\n# }\npre-commit # the keyword used after the opt --out command\n```\n\n* **don't forget to update `.gitignore` to ignore this file.**\n* `opt-in`, `opt-out` files can contain multiple rules\n* every line must contain only a single rule.\n* `#` can be used to comment any rule.\n\n## Use As Library\n\nYou may also include opt-cli as a library:\n\n```JavaScript\nvar opt = require( 'opt-cli' );\n```\n\nGiven the example setup from above, usage would be as follows:\n\n```JavaScript\nopt.testOptIn( 'pre-commit' ) === true\nopt.testOptOut( 'pre-push' ) === true\n```\n\nUsing `opt.getExplicitOpts()` you would receive:\n\n```JavaScript\n{\n  'pre-commit': true,\n  'pre-push': false\n}\n```\n\n## Advanced Usage\n\nRules to opt-into or opt-out of can also be specified using ...\n\n- ... an `in` or `out` array of a `package.json`'s `config.opt` field:\n\n```JSON\n\"config\": {\n  \"opt\": {\n    \"in\": [ \"pre-commit\" ],\n    \"out\": [ \"pre-push\" ]\n  }\n},\n```\n\n- ... the environment variables `OPT_IN` and `OPT_OUT`:\n\n```\n# Delimit multiple rules with \":\" on *nix / \";\" on Win\nexport OPT_IN=\"pre-commit\"\nexport OPT_OUT=\"pre-push\"\n```\n\n## Contributors\n\n<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->\n| [<img src=\"https://avatars3.githubusercontent.com/u/1500684?v=3\" width=\"100px;\"/><br /><sub>Kent C. Dodds</sub>](https://twitter.com/kentcdodds)<br />[????](https://github.com/ta2edchimp/opt-cli/commits?author=kentcdodds) ???? | [<img src=\"https://avatars2.githubusercontent.com/u/374635?v=3\" width=\"100px;\"/><br /><sub>Guilherme J. Tramontina</sub>](https://github.com/gtramontina)<br />[????](https://github.com/ta2edchimp/opt-cli/commits?author=gtramontina) | [<img src=\"https://avatars1.githubusercontent.com/u/262436?v=3\" width=\"100px;\"/><br /><sub>Andreas Windt</sub>](https://twitter.com/ta2edchimp)<br />[????](https://github.com/ta2edchimp/opt-cli/commits?author=ta2edchimp) [????](https://github.com/ta2edchimp/opt-cli/commits?author=ta2edchimp) [⚠️](https://github.com/ta2edchimp/opt-cli/commits?author=ta2edchimp) | [<img src=\"https://avatars1.githubusercontent.com/u/949380?v=3\" width=\"100px;\"/><br /><sub>Sarbbottam Bandyopadhyay</sub>](https://twitter.com/sarbbottam)<br />[????](https://github.com/ta2edchimp/opt-cli/commits?author=sarbbottam) | [<img src=\"https://avatars2.githubusercontent.com/u/22251956?v=4\" width=\"100px;\"/><br /><sub>Suhas Karanth</sub>](https://github.com/sudo-suhas)<br />[????](https://github.com/ta2edchimp/opt-cli/issues?q=author%3Asudo-suhas) [????](https://github.com/ta2edchimp/opt-cli/commits?author=sudo-suhas) |\n| :---: | :---: | :---: | :---: | :---: |\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\nThis project follows the [all-contributors](https://github.com/kentcdodds/all-contributors) specification ([emoji key](https://github.com/kentcdodds/all-contributors#emoji-key)).\n[Contributions of any kind welcome](CONTRIBUTING.md)!\n\nSpecial thanks to [@kentcdodds](https://github.com/kentcdodds) for encouraging to engage in oss, for the wonderful resources (check out the [Egghead videos!](https://egghead.io/series/how-to-write-an-open-source-javascript-library)) and — together with [gtramontina](https://github.com/gtramontina) — for coming up with [the original idea to this module](https://github.com/gtramontina/ghooks/issues/48#issuecomment-194002689)!\n","_attachments":{},"homepage":"https://github.com/ta2edchimp/opt-cli#readme","bugs":{"url":"https://github.com/ta2edchimp/opt-cli/issues"},"license":"MIT"}