v0.23.0
Base#prompt()
functions now returns a promise instead of taking a callback parameter. That'll make it easier to use inside asynchronous tasks.
prompting: function () {
return this.prompt(questions).then(function (answers) {
this.answers = answers;
}.bind(this));
}
This feature might requires a recent version of yo
to work (npm -g update yo
).