650 B
650 B
outline |
---|
none |
Quick start
To run treefmt
in your project, please follow these steps:
- Install
treefmt
. - Install any formatters you wish to use with
treefmt
. - Run
treefmt --init
to generate a basic configuration filetreefmt.toml
. - Edit the configuration, adding formatters as desired. See here for more info on how to configure a formatter.
- Run
treefmt
with the needed flags and options. You can check the supported options by executingtreefmt --help
.
In the following sections we will guide you through installing and configuring treefmt
in detail.