generator-sails-rest-api
Version:
Yeoman generator that provides already configured and optimized Sails REST API with bundle of predefined features
25 lines (22 loc) • 555 B
JavaScript
;
/**
* Exports array that contains questions for prompting.
* The array with questions is an array of Inquirer prompt objects - https://github.com/SBoudrias/Inquirer.js#prompts-type
*
* @example
* module.exports = [{
* type: 'input',
* name: 'inputName',
* message: 'Message for the input'
* }];
*/
module.exports = [{
type: 'checkbox',
name: 'hook:chosen',
message: 'Choose which predefined hooks you want to copy',
default: ['CountHook', 'PluralizeHook'],
choices: [
'CountHook',
'PluralizeHook'
]
}];