Show available env vars in the help output

This commit is contained in:
Dom Corvasce 2019-07-11 11:41:26 +02:00
parent 38f42dfb5c
commit 5500a07d12

View File

@ -209,6 +209,12 @@ class CLI {
this.consoleLog(chalk.yellow.underline('Framework'));
this.consoleLog(chalk.dim('* Documentation: https://serverless.com/framework/docs/'));
this.consoleLog('');
this.consoleLog(chalk.yellow.underline('Environment Variables'));
this.consoleLog(chalk.dim('* Set SLS_DEBUG=* to see debugging logs'));
this.consoleLog(chalk.dim('* Set SLS_WARNING_DISABLE=* to hide warnings from the output'));
this.consoleLog('');
if (!_.isEmpty(this.loadedCommands)) {
_.forEach(this.loadedCommands, (details, command) => {