AllowMissingFormatterbool`default:"false" help:"Do not exit with error if a configured formatter is missing."`
WorkingDirectorykong.ChangeDirFlag`default:"." short:"C" help:"Run as if treefmt was started in the specified working directory instead of the current working directory."`
NoCachebool`help:"Ignore the evaluation cache entirely. Useful for CI."`
ClearCachebool`short:"c" help:"Reset the evaluation cache. Use in case the cache is not precise enough."`
TreeRootstring`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)."`
Walkwalk.Type`enum:"auto,git,filesystem" default:"auto" help:"The method used to traverse the files within --tree-root. Currently supports 'auto', 'git' or 'filesystem'."`
Verbosityint`name:"verbose" short:"v" type:"counter" default:"0" env:"LOG_LEVEL" help:"Set the verbosity of logs e.g. -vv."`
OnUnmatchedlog.Level`name:"on-unmatched" short:"u" default:"warn" help:"Log paths that did not match any formatters at the specified log level, with fatal exiting the process with an error. Possible values are <debug|info|warn|error|fatal>."`
Paths[]string`name:"paths" arg:"" type:"path" optional:"" help:"Paths to format. Defaults to formatting the whole tree." xor:"paths"`
Stdinstring`type:"path" optional:"" help:"Format stdin, placing the output into the provided path. Formatters are matched based on the path's file extension." xor:"paths"`