Benny Bauer 9f0c506c75 fix 1468 - display endpoints
Display general information on service, functions and endpoints.
Add tests.

partial fix for #1468 - display endpoints

fix 1468 - display endpoints

Display general information on service, functions and endpoints.
Add tests.
2016-07-29 13:01:15 +02:00

29 lines
523 B
JavaScript

'use strict';
class Info {
constructor(serverless) {
this.serverless = serverless;
this.commands = {
info: {
usage: 'Displays information about the service.',
lifecycleEvents: [
'info',
],
options: {
stage: {
usage: 'Stage of the service',
shortcut: 's',
},
region: {
usage: 'Region of the service',
shortcut: 'r',
},
},
},
};
}
}
module.exports = Info;