From 7c0266e94378f6121719939c6d53915eb72eed3e Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 6 Sep 2025 15:04:37 +0300 Subject: feat(hexai-action): add --infile/--outfile flags; docs and tests\n\n- Add flags to read from file and write to file\n- Refactor IO open into helper for testability\n- Add CLI integration-style test for IO\n- Update README and docs/usage.md with examples\n- Update docs/testing.md with instructions --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 1486f4a..7a4e214 100644 --- a/README.md +++ b/README.md @@ -96,3 +96,9 @@ Run: - `cat input.go | ./hexai-action` - or `./hexai-action < input.go` +- or with files: `./hexai-action --infile input.go --outfile output.go` + +Flags + +- `--infile` Read input from the given file instead of stdin. +- `--outfile` Write output to the given file instead of stdout (truncates/creates). -- cgit v1.2.3