mirror of
https://github.com/numtide/treefmt.git
synced 2024-11-20 18:10:21 +03:00
fixup! Update cli/cli.go
This commit is contained in:
parent
0511e9acf1
commit
bc928bdf2b
@ -13,7 +13,7 @@ type Format struct {
|
||||
WorkingDirectory kong.ChangeDirFlag `default:"." short:"C" help:"Run as if treefmt was started in the specified working directory instead of the current working directory."`
|
||||
NoCache bool `help:"Ignore the evaluation cache entirely. Useful for CI."`
|
||||
ClearCache bool `short:"c" help:"Reset the evaluation cache. Use in case the cache is not precise enough."`
|
||||
ConfigFile string `type:"path" help:"Load the config file from the given path (defaults to searching upwards for treefmt.toml)."`
|
||||
ConfigFile string `type:"existingfile" help:"Load the config file from the given path (defaults to searching upwards for treefmt.toml)."`
|
||||
FailOnChange bool `help:"Exit with error if any changes were made. Useful for CI."`
|
||||
Formatters []string `short:"f" help:"Specify formatters to apply. Defaults to all formatters."`
|
||||
TreeRoot string `type:"existingdir" xor:"tree-root" help:"The root directory from which treefmt will start walking the filesystem (defaults to the directory containing the config file)."`
|
||||
|
Loading…
Reference in New Issue
Block a user