taplo format [FILES ......]
Format TOML documents
Arguments
Name | Description |
---|---|
FILES ... | Paths or glob patterns to TOML documents |
Options
Name | Description |
---|---|
--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 |
--diff | Print the differences in patch formatting to `stdout` |
f, --force [FILES ......] | Force formatting of files |
--help, -h | Print help information for format |
--log-spans | Enable logging spans |
--no-auto-config | Do 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 |
--verbose | Enable verbose logging format |