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

Boolean flags don't read environment variables #487

Closed
justinwyer opened this issue Sep 8, 2022 · 0 comments · Fixed by #488
Closed

Boolean flags don't read environment variables #487

justinwyer opened this issue Sep 8, 2022 · 0 comments · Fixed by #488

Comments

@justinwyer
Copy link
Contributor

Describe the bug
Boolean flags do not read environment variables.

To Reproduce
Steps to reproduce the behavior:
Create a command with a boolean flag and try use an environment variable to enable the flag.

Expected behavior
It is possible to pass the env option to a boolean flag, so boolean flags should take env variables into consideration and check them for truthy values.

justinwyer pushed a commit to justinwyer/oclif-core that referenced this issue Sep 8, 2022
fixes oclif#487

I am happy to contribute to the docs if this is accepted.
justinwyer pushed a commit to justinwyer/oclif-core that referenced this issue Sep 8, 2022
fixes oclif#487

I am happy to contribute to the docs if this is accepted.
justinwyer added a commit to justinwyer/oclif-core that referenced this issue Sep 8, 2022
fixes oclif#487

I am happy to contribute to the docs if this is accepted.
mdonnalley pushed a commit that referenced this issue Sep 8, 2022
fixes #487

I am happy to contribute to the docs if this is accepted.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant