Skip to content

v0.23.0

Compare
Choose a tag to compare
@SBoudrias SBoudrias released this 02 May 00:38
· 617 commits to main since this release

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).