Help does not display env name when configured for a parameter #981
Labels
--help output
Related to --help output
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Accepting PRs
Do you want to request a feature or report a bug?
Feature
Similar to how flags default are displayed in the help for a command, the help could also display the name of the environment variable when configured for a flag.
What is the current behavior?
bin\run <command> --help
displays for each flags the default if configured, eg:--my-flag=my-flag [default: my-default] Flag for ...
To find out the environment variable name that can be used instead of a flag, one must look at the code, or add manually the variable name to the flag's help.
What is the expected behavior?
Help could include the name of the environment variable, eg something like this:
--my-flag=my-flag [default: my-default, env: MY_FLAG] Flag for ...
The text was updated successfully, but these errors were encountered: