mirror of
https://github.com/badlogic/pi-mono.git
synced 2026-11-05 23:37:25 +00:00
Merge remote-tracking branch 'origin/main' into dev
This commit is contained in:
commit
8798b7996d
68 changed files with 2437 additions and 982 deletions
|
|
@ -514,7 +514,7 @@ Read the [blog post](https://mariozechner.at/posts/2025-11-30-pi-coding-agent/)
|
|||
## CLI Reference
|
||||
|
||||
```bash
|
||||
pi [options] [@files...] [messages...]
|
||||
pi [options] [--] [@files...] [messages...]
|
||||
```
|
||||
|
||||
### Package Commands
|
||||
|
|
@ -613,6 +613,7 @@ Combine `--no-*` with explicit flags to load exactly what you need, ignoring set
|
|||
| `--verbose` | Force verbose startup |
|
||||
| `-a`, `--approve` | Trust project-local files for this run |
|
||||
| `-na`, `--no-approve` | Ignore project-local files for this run |
|
||||
| `--` | Stop option parsing; remaining arguments are prompts or `@file` inputs |
|
||||
| `-h`, `--help` | Show help |
|
||||
| `-v`, `--version` | Show version |
|
||||
|
||||
|
|
@ -635,6 +636,9 @@ pi "List all .ts files in src/"
|
|||
# Non-interactive
|
||||
pi -p "Summarize this codebase"
|
||||
|
||||
# Prompt beginning with a dash
|
||||
pi -p -- "- Summarize these points"
|
||||
|
||||
# Non-interactive with piped stdin
|
||||
cat README.md | pi -p "Summarize this text"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue