Input module for Listr
Install
$ npm install --save listr-input
Usage
const Listr = ;const inquirer = ; const list = title: 'Retrieving data' ; list;
API
input(questions, done)
Returns an Observable which asks given set of questions.
questions
Type: array
https://github.com/SBoudrias/Inquirer.js/#question
done
Type: function
Function that will be invoked when the user has answered the questions
License
MIT © Original code from listr-input by Sam Verschueren