generator-sails-rest-api
Version:
Yeoman generator that provides already configured and optimized Sails REST API with bundle of predefined features
27 lines (24 loc) • 608 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 = {
'logger-name': {
desc: `Specifies the logger (bunyan, default, winston)`,
required: false,
type: String,
defaults: `winston`
}
};