UNPKG

serverless

Version:

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

32 lines (28 loc) 635 B
'use strict'; class Info { constructor(serverless) { this.serverless = serverless; this.commands = { info: { usage: 'Display information about the service', configDependent: true, lifecycleEvents: ['info'], options: { stage: { usage: 'Stage of the service', shortcut: 's', }, region: { usage: 'Region of the service', shortcut: 'r', }, verbose: { usage: 'Display Stack output', shortcut: 'v', }, }, }, }; } } module.exports = Info;