Skip to content

Commit

Permalink
feat: replace kong with cobra/viper
Browse files Browse the repository at this point in the history
`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
  • Loading branch information
brianmcgee committed Oct 9, 2024
1 parent c5f2d13 commit 4703ccb
Show file tree
Hide file tree
Showing 21 changed files with 1,540 additions and 587 deletions.
61 changes: 0 additions & 61 deletions cli/cli.go

This file was deleted.

85 changes: 0 additions & 85 deletions cli/helpers_test.go

This file was deleted.

37 changes: 0 additions & 37 deletions cli/mappers.go

This file was deleted.

Loading

0 comments on commit 4703ccb

Please sign in to comment.