Skip to content

mrm@2.1.0

Choose a tag to compare

@sapegin sapegin released this 27 Feb 13:37
· 267 commits to master since this release

2.1.0 (2020-02-27)

Features

  • Added interactive config support (#51 & #53)

Interactive configs

Interactive configs can be declared in the parameters property of a task as a map of config names to Inquirer prompt definitions:

module.exports = function myTask() { ... }

module.exports.parameters = {
  configName: {
    type: 'input',
    message: 'Please, fulfil this interactive input',
    default: 'default value', // also used on non-interactive runs
  },
};

Learn more at Writing tasks.