serverless
Version:
Serverless Framework - Build web, mobile and IoT applications with serverless architectures using AWS Lambda, Azure Functions, Google CloudFunctions & more
32 lines (28 loc) • 668 B
JavaScript
;
class Remove {
constructor(serverless) {
this.serverless = serverless;
this.commands = {
remove: {
usage: 'Remove Serverless service and all resources',
configDependent: true,
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;