Skip to content
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

cli flags should override environmental variables #16246

Closed
imogenkinsman opened this issue Dec 17, 2019 · 0 comments · Fixed by #16491
Closed

cli flags should override environmental variables #16246

imogenkinsman opened this issue Dec 17, 2019 · 0 comments · Fixed by #16491

Comments

@imogenkinsman
Copy link
Contributor

We use env vars to supplement our CLI, e.g. allowing users to scope all requests to a specific org without having to specify it in every request.

If a user specifies a flag that conflicts with an env var, the flag should take precedence over the env var.

  1. Investigate where this is currently happening in the CLI.
  2. Change all instances where env var takes precedence over flags.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment