document the new --append-system-prompt flag

This commit is contained in:
Markus Ylisiurunen 2025-12-05 09:28:41 +02:00
parent ef8bb6c062
commit 342af285c4
2 changed files with 11 additions and 0 deletions

View file

@ -2,6 +2,10 @@
## [Unreleased] ## [Unreleased]
### Added
- **`--append-system-prompt` Flag**: Append additional text or file contents to the system prompt. Supports both inline text and file paths. Complements `--system-prompt` for layering custom instructions without replacing the base system prompt. ([#114](https://github.com/badlogic/pi-mono/pull/114))
## [0.12.10] - 2025-12-04 ## [0.12.10] - 2025-12-04
### Added ### Added

View file

@ -926,6 +926,13 @@ Custom system prompt. Can be:
If the argument is a valid file path, the file contents will be used as the system prompt. Otherwise, the text is used directly. Project context files and datetime are automatically appended. If the argument is a valid file path, the file contents will be used as the system prompt. Otherwise, the text is used directly. Project context files and datetime are automatically appended.
**--append-system-prompt <text|file>**
Append additional text or file contents to the system prompt. Can be:
- Inline text: `--append-system-prompt "Also consider edge cases"`
- File path: `--append-system-prompt ./extra-instructions.txt`
If the argument is a valid file path, the file contents will be appended. Otherwise, the text is appended directly. This complements `--system-prompt` for layering custom instructions without replacing the base system prompt. Works in both custom and default system prompts.
**--mode <mode>** **--mode <mode>**
Output mode for non-interactive usage (implies `--print`). Options: Output mode for non-interactive usage (implies `--print`). Options:
- `text` (default): Output only the final assistant message text - `text` (default): Output only the final assistant message text