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

Envvars ignored when using printHelpOnEmptyArgs #382

Closed
Pyeroh opened this issue Dec 13, 2022 · 0 comments · Fixed by #532
Closed

Envvars ignored when using printHelpOnEmptyArgs #382

Pyeroh opened this issue Dec 13, 2022 · 0 comments · Fixed by #532

Comments

@Pyeroh
Copy link

Pyeroh commented Dec 13, 2022

When I create a CliktCommand with printHelpOnEmptyArgs set to true, with an option, if I launch my program without any option but with environment variables, they are not considered by the parser and the help message is printed.

Expected : if environment variables matching defined options exist, they should be considered to don't print the help message (as corresponding options can be filled)

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