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) • 520 B
JavaScript
;
/**
* Exports object that contains names of arguments as a key and their configuration objects as a value
*
* @example
* module.exports = {
* argumentName: {
* desc: 'Description for the argument',
* required: false,
* optional: true,
* type: String || Number || Array || Object,
* defaults: 'Default value for this argument',
* banner: 'String to show on usage notes'
* }
* };
*/
module.exports = {
'model-name': {
required: true,
type: String
}
};