inquirer-bluebird
Bluebird wrapper for inquirer.js
There is a bluebird-inquirer,
but it promisify only prompt function, so you can't use new inquirer.Separator()
.
Install
$ npm install inquirer-bluebird --save
Usage
const questions = name: 'a' type: 'list' message: 'pick a number' choices: '1' '2' '3' name: 'b' type: 'list' message: 'pick a letter' choices: 'x' 'y' 'z' ;
Before
const inquirer = ; { inquirerpromptquestions { ; }; };
Now
const inquirer = ; inquirerpromptquestions ;
Related
License
MIT © ewnd9