mrm@2.1.0
2.1.0 (2020-02-27)
Features
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.