-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set CLI options from VSO_ environment variables #551
Conversation
Adds support for setting some of the CLI options from environment variables, prefixed with VSO_ (e.g. VSO_OUTPUT_FORMAT).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only a few suggestions to consider, otherwise looks great. I guess we will need to update the main VSO docs for these new env vars?
Also document the env options in the CLI help output.
Yep, absolutely, especially as it pertains to OperatorHub/OLM setups. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Thanks! |
Adds support for setting some of the CLI options from environment variables, including:
If both a command-line arg and environment variable are set for the same option, the environment variable takes precedence.
Also mentions the environment variables in the CLI flag help output.
Fixes #533