numtide / treefmt

one CLI to format your repo [maintainers=@zimbatm,@brianmcgee]
https://treefmt.com
MIT License
621 stars 38 forks source link

treefmt cli: allow explicitly specifying a specific formatter #167

Closed flokli closed 2 years ago

flokli commented 2 years ago

Sometimes treefmt with a bunch of formatters is a bit slow. In some cases, I'd like to explicitly narrow down the list of formatters to run.

It'd be nice if I could only run a subset of formatters, by invoking treefmt -f nix,terraform (or similar syntax)

zimbatm commented 2 years ago

I like this. :+1:

brianmcgee commented 2 years ago

@zimbatm should this issue be closed as it looks like it was already merged?

zimbatm commented 2 years ago

thanks