treefmt/docs/quick-start.md
Brian McGee e5da10e873
doc: refine docs and usage
Signed-off-by: Brian McGee <brian@bmcgee.ie>
2024-05-10 10:46:39 +01:00

452 B

outline
none

Quick start

To run treefmt in your project, follow these steps:

  1. Install treefmt.
  2. Ensure any formatters you wish to use are also installed e.g. gofmt
  3. Run treefmt --init to generate a basic configuration file treefmt.toml.
  4. Edit treefmt.toml, configuring formatters as desired.
  5. Run treefmt with the needed flags & options.