| 1 | # clerk — plain-text accounting toolchain |
| 2 | |
| 3 | Go toolkit for ledger/hledger journal files: parsing, linting, formatting, LSP, tags. |
| 4 | |
| 5 | ## Commands |
| 6 | ```bash |
| 7 | go build . # build |
| 8 | go test ./... # all tests |
| 9 | go test ./internal/linter/ -run TestLinter -v # linter golden suite |
| 10 | ``` |
| 11 | |
| 12 | ## Conventions |
| 13 | - **Golden tests:** `testdata/<name>.txtar` |
| 14 | |
| 15 | ## Boundaries |
| 16 | - Use `internal/decimal.Decimal` for monetary amounts (no float64) |