serverless
Version:
Serverless Framework - Build web, mobile and IoT applications with serverless architectures using AWS Lambda, Azure Functions, Google CloudFunctions & more
33 lines (29 loc) • 625 B
JavaScript
;
class Info {
constructor(serverless) {
this.serverless = serverless;
this.commands = {
info: {
usage: 'Display information about the service',
lifecycleEvents: [
'info',
],
options: {
stage: {
usage: 'Stage of the service',
shortcut: 's',
},
region: {
usage: 'Region of the service',
shortcut: 'r',
},
verbose: {
usage: 'Display Stack output',
shortcut: 'v',
},
},
},
};
}
}
module.exports = Info;