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

override config options from command line #55

Merged
merged 4 commits into from Aug 31, 2023
Merged

Conversation

seapagan
Copy link
Owner

Add command line options --git / --test / --lint or --doc to override config settings opposite to their -no-x versions.

CLI options have priority though

Signed-off-by: Grant Ramsay <seapagan@gmail.com>
ie `--no-git` has a corresponding `--git` flag. Either will override the
config file setting

Signed-off-by: Grant Ramsay <seapagan@gmail.com>
@seapagan seapagan added the enhancement New feature or request label Aug 31, 2023
@seapagan seapagan self-assigned this Aug 31, 2023
@seapagan seapagan added the refactor Internal refactoring of code or linting etc label Aug 31, 2023
these confusingly suggest that the negatives are the default

Signed-off-by: Grant Ramsay <seapagan@gmail.com>
@seapagan seapagan marked this pull request as ready for review August 31, 2023 08:31
Signed-off-by: Grant Ramsay <seapagan@gmail.com>
@seapagan seapagan merged commit 8b68fd6 into main Aug 31, 2023
5 checks passed
@seapagan seapagan deleted the cli-options-in-config branch August 31, 2023 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request refactor Internal refactoring of code or linting etc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant