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

Support setting defaults for command line arguments via git config #189

Open
kynan opened this issue Jan 27, 2024 · 0 comments
Open

Support setting defaults for command line arguments via git config #189

kynan opened this issue Jan 27, 2024 · 0 comments
Assignees
Milestone

Comments

@kynan
Copy link
Owner

kynan commented Jan 27, 2024

We already support some options being set via git config (extrakeys and keepmetadatakeys).

Ideally, all command line arguments should be configurable in this way the values read from git config should be the defaults for the command line arguments.

@kynan kynan self-assigned this Jan 27, 2024
@kynan kynan added this to the 0.7.0 milestone Jan 27, 2024
@kynan kynan modified the milestones: 0.7.0, Backlog Feb 4, 2024
kynan added a commit that referenced this issue Feb 10, 2024
This requires changing command line argument parsing to use a 2-phase process: initially we *only* parse the flags to determine the git config location to use. We then read defaults from this git config for (most of the) remaining arguments added to the 2nd phase parser.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant