-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Feature Request: Generate default config file #870
Comments
I don't think the |
|
Good point, but then how should the CLI really look like? |
I would expect |
Not really.
currently prints the path to the config file, and we are not planning to change that. The idea of this ticket is to create a new way to generate a default config file, ideally at the place where My question is how we want to design the CLI to allow users to do that. If we are implementing something like
That wouldn't really work because the |
Agree with @sharkdp above - that seems pretty clunky. My vote is on this:
Under the hood, this command creates the |
released in bat v0.14 |
Is it expected that on Windows the The problem that occurred that took me a long time to troubleshoot is that since I had first created a folder Thoughts? Is this expected? |
Branching off from #573 - it would be very useful if bat automatically generated a sane, small, well commented config file for users.
For example:
bat --config-file -o $file
writes to$file
bat --generate-config-file
writes to the current default config location and prints the pathI assume the implementation would be a small static string or binary blog baked into the binary. Not sure how rust does these things.
The text was updated successfully, but these errors were encountered: