mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
Show available env vars in the help output
This commit is contained in:
parent
38f42dfb5c
commit
5500a07d12
@ -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) => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user