-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
feat: add --default-config
and --default-language-config
command line arguments
#12161
base: master
Are you sure you want to change the base?
Conversation
Does it also take languages.toml into account? |
It doesn't, which I think is the desired behavior? |
Hm... in my opinion, we shouldn't add this extra argument since, as you said, it's meant for contributors. I think I'd simply just create an alias like |
What if it's just a one off contribution and they don't want to make an alias? It'll be slightly easier for the contributor. I think making things easier for one-off contributors is a good idea of course, this is just a point to consider |
Would be nice if I could load the default languages.toml. I personally do have some use case. The problem I see with it, |
I think it makes sense to have separate args, e.g. |
|
--default-config
command line argument--default-config
and --default-language-config
command line arguments
--default-config
and-d
will skip looking for a config file and instead use the default oneThis is mainly useful for contributors who want to temporarily disable their config file without
touch empty.toml && hx -c empty.toml
Closes #12157