mirror of
https://github.com/instructkr/claw-code.git
synced 2026-06-04 21:47:10 +08:00
fix: read prompt subcommand input from stdin
This commit is contained in:
6
USAGE.md
6
USAGE.md
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user