1
0
Fork
You've already forked format
0
simple tool to format plaintext files
  • Go 100%
2026年05月05日 20:20:32 +02:00
.gitignore initial commit 2026年05月05日 20:16:08 +02:00
go.mod initial commit 2026年05月05日 20:16:08 +02:00
license initial commit 2026年05月05日 20:16:08 +02:00
main.go cool bars 2026年05月05日 20:20:32 +02:00
readme.md -.- 2026年05月05日 20:19:19 +02:00

format

this is a really simple tool to format plaintext files nicely.

it does the following to every file you provide it:

  • remove whitespace in lines that are otherwise empty;
  • remove trailing whitespace;
  • add proper line endings to every line (both unix-style line endings (\n) and windows-style endings (\r\n) can be done).

for more info, run ./main -h.

licensed under the mit license.