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

Added cli params preference over config file. #256

Merged
merged 1 commit into from
Jul 4, 2023

Conversation

narmaku
Copy link
Collaborator

@narmaku narmaku commented Jul 3, 2023

For this, we refactored the CIVConfig class and changed the behavior to allow combined options (a config file and some params to override what is already present in the config). Also, if the config file does not exist, it will always be created with default values and then updated with the values provided via cli params.

For this, we refactored the CIVConfig class and changed the behavior to allow combined options (a config file and some params to override what is already present in the config).
Also, if the config file does not exist, it will always be created with default values and then updated with the values provided via cli params.
@narmaku narmaku merged commit da1a0f5 into osbuild:main Jul 4, 2023
1 check passed
@narmaku narmaku deleted the add-cli-param-preference branch July 4, 2023 14:49
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.

1 participant