cli/questions.js
function promisePrompt(questions) {
    return new Promise(function(resolve, reject) {
        inquirer.prompt(questions, function(results) {
            resolve(results);
        });
    });
}
function promisePrompt(questions) {
    return new Promise(function(resolve, reject) {
        inquirer.prompt(questions, function(results) {
            resolve(results);
        });
    });
}
function promisePrompt ( questions ) { return new Promise ( function ( resolve , reject ) { inquirer . prompt ( questions , function ( results ) { resolve ( results ) ; } ) ; } ) ; }
Convert inquirer.prompt to a promise.
Convert inquirer . prompt to a promise .