yargs-interactive
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -1,1 +0,1 @@ | ||
{"name":"yargs-interactive","version":"2.0.0","description":"Build interactive command line tools without worring to parse the arguments (or ask them).","main":"src/index.js","files":["src"],"scripts":{"lint":"eslint .","test":"nyc --reporter=text --reporter=html mocha","coveralls":"nyc report --reporter=text-lcov | coveralls","commitmsg":"validate-commit-msg","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"repository":{"type":"git","url":"git+https://github.com/nanovazquez/yargs-interactive.git"},"keywords":["yargs","interactive","cli","arguments","args","prompt","inquirer"],"author":"nanovazquez","license":"MIT","bugs":{"url":"https://github.com/nanovazquez/yargs-interactive/issues"},"homepage":"https://github.com/nanovazquez/yargs-interactive#readme","dependencies":{"inquirer":"^4.0.0","yargs":"^10.0.3"},"devDependencies":{"coveralls":"^3.0.0","eslint":"^4.11.0","eslint-config-google":"^0.9.1","husky":"^0.14.3","mocha":"^4.0.1","nyc":"^11.3.0","proxyquire":"^1.8.0","semantic-release":"^8.2.0","sinon":"^4.1.2","validate-commit-msg":"^2.14.0"}} | ||
{"name":"yargs-interactive","version":"2.0.1","description":"Build interactive command line tools without worring to parse the arguments (or ask them).","main":"src/index.js","files":["src"],"scripts":{"lint":"eslint src test","test":"nyc --reporter=text --reporter=html mocha","coveralls":"nyc report --reporter=text-lcov | coveralls","commitmsg":"validate-commit-msg","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"repository":{"type":"git","url":"git+https://github.com/nanovazquez/yargs-interactive.git"},"keywords":["yargs","interactive","cli","arguments","args","prompt","inquirer"],"author":"nanovazquez","license":"MIT","bugs":{"url":"https://github.com/nanovazquez/yargs-interactive/issues"},"homepage":"https://github.com/nanovazquez/yargs-interactive#readme","dependencies":{"inquirer":"^4.0.0","yargs":"^10.0.3"},"devDependencies":{"coveralls":"^3.0.0","eslint":"^4.11.0","eslint-config-google":"^0.9.1","husky":"^0.14.3","mocha":"^4.0.1","nyc":"^11.3.0","proxyquire":"^1.8.0","semantic-release":"^8.2.0","sinon":"^4.1.2","validate-commit-msg":"^2.14.0"}} |
@@ -5,3 +5,3 @@ # Yargs Interactive | ||
[_See the blog post_](https://medium.com/@nanovazquez/yargs-interactive-create-cli-tools-for-humans-and-non-humans-f9419f5cbd9e) | ||
[_Read the blog post_](https://medium.com/@nanovazquez/yargs-interactive-create-cli-tools-for-humans-and-non-humans-f9419f5cbd9e) | ||
@@ -8,0 +8,0 @@ Interactive (prompt) support for [yargs](https://github.com/yargs/yargs), based on [inquirer](https://github.com/SBoudrias/Inquirer.js/). Useful for using the same CLI for both for humans and non-humans (like CI tools). Also supports mixed mode (yay!). |
@@ -12,6 +12,6 @@ const inquirer = require('inquirer'); | ||
default: value.default, | ||
choices: value.options, | ||
}); | ||
}); | ||
return prompt(questions); | ||
}; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11546
84