Skip to content

Commit bac4a0d

Browse files
committed
feat: replace kong with cobra/viper
`treefmt.toml` has been extended to include an entry for most of the flags that can be passed to `treefmt`. In addition, values can now be specified via the environment, prefixed with `TREEFMT_`. Finally, the order of precedence for value lookup has been fixed: flag -> env -> treefmt.toml. Closes #351
1 parent c5f2d13 commit bac4a0d

21 files changed

+1537
-587
lines changed

cli/cli.go

-61
This file was deleted.

cli/helpers_test.go

-85
This file was deleted.

cli/mappers.go

-37
This file was deleted.

0 commit comments

Comments
 (0)