serverless/lib/plugins/remove.js
Mariusz Nowak 2294a4b4cb refactor(CLI): Move lifecycles definition to commands schema
It's needed to be able to process commands as introduced by plugins without a need of processing Serverless instance
2021-03-24 11:50:24 +01:00

18 lines
285 B
JavaScript

'use strict';
const cliCommandsSchema = require('../cli/commands-schema');
class Remove {
constructor(serverless) {
this.serverless = serverless;
this.commands = {
remove: {
...cliCommandsSchema.get('remove'),
},
};
}
}
module.exports = Remove;