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

Introduce viper #233

Merged
merged 13 commits into from
Jul 2, 2021
Merged

Introduce viper #233

merged 13 commits into from
Jul 2, 2021

Conversation

eberlep
Copy link
Collaborator

@eberlep eberlep commented Jun 17, 2021

Switch from flag to github.com/spf13/viper.

This allows us to read newly introduced cli arguments/env variables where we need them, no more need to parse them in the main function and pass them along where they are needed.

This first version does not move any logic to keep the impact low.

@eberlep eberlep requested a review from majst01 June 17, 2021 15:35
@eberlep eberlep marked this pull request as ready for review July 2, 2021 10:33
@eberlep
Copy link
Collaborator Author

eberlep commented Jul 2, 2021

I have overridden all the values and checked that they are correct in the startup output.

@majst01 majst01 merged commit 88d7d24 into main Jul 2, 2021
@majst01 majst01 deleted the viper branch July 2, 2021 11:21
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.

2 participants