summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-09-06 15:04:37 +0300
committerPaul Buetow <paul@buetow.org>2025-09-06 15:04:37 +0300
commit7c0266e94378f6121719939c6d53915eb72eed3e (patch)
tree64017871e9516fbe3cf2dfbd63729e790ed1e0ef /README.md
parente2418d22e0ff8d5d8bb883cf38b47dc94a6c308e (diff)
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
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 6 insertions, 0 deletions
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).