mirror of
https://github.com/serverless/serverless.git
synced 2025-12-08 19:46:03 +00:00
It's needed to be able to process commands as introduced by plugins without a need of processing Serverless instance
19 lines
326 B
JavaScript
19 lines
326 B
JavaScript
'use strict';
|
|
|
|
const cliCommandsSchema = require('../cli/commands-schema');
|
|
|
|
class Metrics {
|
|
constructor(serverless, options) {
|
|
this.serverless = serverless;
|
|
this.options = options;
|
|
|
|
this.commands = {
|
|
metrics: {
|
|
...cliCommandsSchema.get('metrics'),
|
|
},
|
|
};
|
|
}
|
|
}
|
|
|
|
module.exports = Metrics;
|