Socket
Socket
Sign inDemoInstall

inquander

Package Overview
Dependencies
15
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.5.6 to 0.5.7

9

example/pizza.js

@@ -9,3 +9,3 @@ #!/usr/bin/env node

.version('0.0.1')
.command('order [count]')
.command('order [count] [pickup]')
.description('Order a pizza.')

@@ -17,4 +17,5 @@ .option('-p, --peppers', 'Add peppers')

.option('-C, --no-cheese', 'You do not want any cheese')
.action(function(count, options) {
.action(function(count, pickup, options) {
console.log('You ordered', count, ' pizzas, with:');
console.log(pickup);
if (options.peppers) {

@@ -49,4 +50,8 @@ console.log('Peppers');

type: 'password'
},
'pickup': {
type: 'checkbox',
choices: ['one', 'two']
}
}
});

@@ -68,2 +68,5 @@ var inquirer = require('inquirer'),

} else {
if (_.isArray(value)) {
value = value.join(',');
}
return value;

@@ -70,0 +73,0 @@ }

{
"name": "inquander",
"version": "0.5.6",
"version": "0.5.7",
"description": "Inquirer for commander. If no arguments and options are passed to your commander app, it runs inquirer.",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc