2016-10-12 08:44:29 +02:00

33 lines
658 B
JavaScript

'use strict';
class Remove {
constructor(serverless) {
this.serverless = serverless;
this.commands = {
remove: {
usage: 'Remove Serverless service and all resources',
lifecycleEvents: [
'remove',
],
options: {
stage: {
usage: 'Stage of the service',
shortcut: 's',
},
region: {
usage: 'Region of the service',
shortcut: 'r',
},
verbose: {
usage: 'Show all stack events during deployment',
shortcut: 'v',
},
},
},
};
}
}
module.exports = Remove;