fix: read prompt subcommand input from stdin

This commit is contained in:
bellman committed 2026-06-03 22:39:16 +09:00
1 parent c91a3062d5
commit 9522674c87
4 files changed
+189 -6

No files matched your search

+6
View File
@@ -86,6 +86,12 @@ cd rust
./target/debug/claw prompt "summarize this repository"
```
Pipe prompt text through stdin when automation already produces the prompt body:
```bash
printf 'summarize this repository\n' | ./target/debug/claw prompt --output-format json
```
### Shorthand prompt mode
```bash