serverless
Version:
Serverless Framework - Build web, mobile and IoT applications with serverless architectures using AWS Lambda, Azure Functions, Google CloudFunctions & more
18 lines (15 loc) • 333 B
JavaScript
;
module.exports = {
config: {
usage: 'Path to serverless config file',
shortcut: 'c',
},
stage: {
usage: 'Stage of the service',
shortcut: 's',
},
...require('./global'),
};
for (const optionSchema of Object.values(module.exports)) {
if (!optionSchema.type) optionSchema.type = 'string';
}