mirror of
https://github.com/serverless/serverless.git
synced 2025-12-08 19:46:03 +00:00
32 lines
635 B
JavaScript
32 lines
635 B
JavaScript
'use strict';
|
|
|
|
class Info {
|
|
constructor(serverless) {
|
|
this.serverless = serverless;
|
|
|
|
this.commands = {
|
|
info: {
|
|
usage: 'Display information about the service',
|
|
configDependent: true,
|
|
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;
|