one CLI to format your repo (Go re-write)
Brian McGee
e3713a785a
Introduces a `--walk` flag which can be used to tell `treefmt` how to traverse the directory specified by `--tree-root`. By default, it will attempt to use `git ls-files`. If this fails, it falls back to using the filesystem. You can explicitly traverse the filesystem instead of using git by providing `--walk filesystem`. Close #1 Signed-off-by: Brian McGee <brian@bmcgee.ie> |
||
---|---|---|
internal | ||
nix | ||
test | ||
.envrc | ||
.gitignore | ||
flake.lock | ||
flake.nix | ||
go.mod | ||
go.sum | ||
gomod2nix.toml | ||
LICENSE.md | ||
main.go |