numtide / treefmt

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

treefmt cli: allow explicitly specifying a specific formatter #167

Closed flokli closed 1 year 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 1 year ago

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

zimbatm commented 1 year ago

thanks