taplo format [FILES ......]

Format TOML documents

Arguments

NameDescription
FILES ...Paths or glob patterns to TOML documents

Options

NameDescription
--config, -c <CONFIG>Path to the Taplo configuration file
--cache-path <CACHE_PATH>Set a cache path
--check [CACHE_PATH]Report any files that are not correctly formatted
--colors <COLORS>Set color values for the output
--diffPrint the differences in patch formatting to `stdout`
f, --force [FILES ......]Force formatting of files
--help, -hPrint help information for format
--log-spansEnable logging spans
--no-auto-configDo not search for a configuration file
--option, -o <OPTIONS>A formatter option given as a 'key=value', can be set multiple times
--stdin-filepath <STDIN_FILEPATH>A path to the file that the taplo will treat like stdin
--verboseEnable verbose logging format