¶ PromptWrapper around |
module.exports = function(prompt) {
return {
|
Start the prompt |
start: function() {
prompt.start();
},
|
Get the result of the prompt Params
promptConfig
Object
The configuration to setup the prompt
callback
Function
The callback to call once the user finished to enter the answers to the prompt
|
get: function(promptConfig, callback) {
prompt.get(promptConfig, callback);
}
};
};
module.exports['@require'] = ['prompt'];
|