treefmt/docs
Brian McGee 9934a5764d
fix: --stdin flag
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>
2024-06-03 17:07:34 +01:00
..
.vitepress docs: put motivation first 2024-05-30 14:26:38 +02:00
public doc: improve treefmt.gif 2024-05-03 20:04:13 +01:00
vhs doc: improve treefmt.gif 2024-05-03 20:04:13 +01:00
about.md doc: refine docs and usage 2024-05-10 10:46:39 +01:00
configure.md Update docs/configure.md 2024-05-30 19:19:57 +02:00
contributing.md doc: switch to treefmt.com domain 2024-05-13 10:20:22 +01:00
faq.md feat: add flake compat 2024-05-02 11:41:39 +01:00
formatter-spec.md doc: refine formatter spec 2024-05-02 11:41:38 +01:00
index.md docs: clearer landing page (#298) 2024-05-18 09:45:38 +02:00
install.md chore: change base url to treefmt instead of treefmt-go 2024-05-12 19:39:43 +01:00
package-lock.json doc: refine docs and usage 2024-05-10 10:46:39 +01:00
package.json doc: fix docs package build 2024-05-02 11:41:38 +01:00
quick-start.md docs: focus on the default experience in the quickstart 2024-05-30 14:26:38 +02:00
usage.md fix: --stdin flag 2024-06-03 17:07:34 +01:00