serverless
Version:
Serverless Framework - Build web, mobile and IoT applications with serverless architectures using AWS Lambda, Azure Functions, Google CloudFunctions & more
21 lines (17 loc) • 413 B
JavaScript
;
class Plugin {
constructor(serverless, options) {
this.serverless = serverless;
this.options = options;
this.commands = {
plugin: {
usage: 'Plugin management for Serverless',
lifecycleEvents: ['plugin'],
},
};
this.hooks = {
'plugin:plugin': () => this.serverless.cli.generateCommandsHelp(['plugin']),
};
}
}
module.exports = Plugin;