21 lines
413 B
JavaScript

'use strict';
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;