mirror of
https://github.com/numtide/treefmt.git
synced 2024-07-14 20:20:29 +03:00
9934a5764d
This was incorrectly ported from Rust to Go. When provided, `treefmt` will take the contents of stdin and place them into the file provided with the `--stdin` flag, then format it according to the configured formatters. If the file doesn't exist it is created. If it exists, it is first truncated and then populated with stdin. Signed-off-by: Brian McGee <brian@bmcgee.ie> |
||
---|---|---|
.. | ||
cli.go | ||
format_test.go | ||
format.go | ||
helpers_test.go | ||
mappers.go |