UNPKG

@serverless-rewrite/serverless

Version:

Serverless Framework - Build web, mobile and IoT applications with serverless architectures using AWS Lambda, Azure Functions, Google CloudFunctions & more

23 lines (18 loc) 418 B
'use strict'; const cliCommandsSchema = require('../cli/commands-schema'); class Rollback { constructor(serverless) { this.serverless = serverless; this.commands = { rollback: { ...cliCommandsSchema.get('rollback'), commands: { function: { ...cliCommandsSchema.get('rollback function'), }, }, }, }; } } module.exports = Rollback;