Skip to content

Allow for preprocessing or pretty printing #2191

@salva

Description

@salva

I find myself repeatedly combining bat with a pretty printer, as in: jq . file.json|bat -l JSON

IMO, it would be very handy to have the preprocessing/pretty printing integrated into bat, so that one could just run it like bat -P file.json.

(And I know about prettybat from the bat-extras repository, but still, I think having the feature natively supported would be much better)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions