You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: cli/cli.go
+1-1
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ type Format struct {
13
13
WorkingDirectory kong.ChangeDirFlag`default:"." short:"C" help:"Run as if treefmt was started in the specified working directory instead of the current working directory."`
14
14
NoCachebool`help:"Ignore the evaluation cache entirely. Useful for CI."`
15
15
ClearCachebool`short:"c" help:"Reset the evaluation cache. Use in case the cache is not precise enough."`
16
-
ConfigFilestring`type:"path" help:"Load the config file from the given path (defaults to finding treefmt.toml up)."`
16
+
ConfigFilestring`type:"path" help:"Load the config file from the given path (defaults to searching upwards for treefmt.toml)."`
17
17
FailOnChangebool`help:"Exit with error if any changes were made. Useful for CI."`
18
18
Formatters []string`short:"f" help:"Specify formatters to apply. Defaults to all formatters."`
19
19
TreeRootstring`type:"path" help:"The root directory from which treefmt will start walking the filesystem (defaults to the directory containing the config file)."`
0 commit comments