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

Allow options to be set via environment variables (to override defaults) #21

Closed
wants to merge 5 commits into from

Conversation

hoostus
Copy link
Contributor

@hoostus hoostus commented Aug 3, 2024

Enable click's auto_envvar_prefix to fix #8

I added a few tests and updated the README.

Let me know if you see anything else you want changed for this PR.

Cheers,
Justus

@zacchiro
Copy link
Owner

zacchiro commented Aug 3, 2024

Hello, thanks a lot, this looks great!

I've very minimally reworked your commits in the envvar branch to merge related commits together and adapted the commit message style to be more consistent with previous commits.
I've also added a commit of mine clarifying how boolean options map to envvar values, because that was not clear to me.

Can you please take a look and confirm you're OK with me merging that branch into main?
If so, we'll be soon done here! Thanks again.

@hoostus
Copy link
Contributor Author

hoostus commented Aug 4, 2024

Yep, looks good to me.

@zacchiro
Copy link
Owner

zacchiro commented Aug 5, 2024

Merged into main with 5a44873.

@zacchiro zacchiro closed this Aug 5, 2024
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 this pull request may close these issues.

Support configuration file, to override defaults
2 participants