Skip to content

Feature Request: Generate default config file #870

@issmirnov

Description

@issmirnov

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 path

I assume the implementation would be a small static string or binary blog baked into the binary. Not sure how rust does these things.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions