treefmt icon indicating copy to clipboard operation
treefmt copied to clipboard

treefmt cli: allow explicitly specifying a specific formatter

Open flokli opened this issue 2 years ago • 1 comments

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)

flokli avatar May 12 '22 17:05 flokli

I like this. :+1:

zimbatm avatar May 17 '22 12:05 zimbatm

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

brianmcgee avatar Dec 01 '22 15:12 brianmcgee

thanks

zimbatm avatar Dec 01 '22 16:12 zimbatm