diff options
| author | Dmitry Lyalin <[email protected]> | 2025-07-26 22:41:19 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-07-27 02:41:19 +0000 |
| commit | 9e61b3510c0cd7f333f40f68e87d981aff19aab1 (patch) | |
| tree | c92fc3e54c0d255108c3c7f66890b00843862a5e /docs/cli/configuration.md | |
| parent | 3e81359c6b6392bd3fc1c4d14ac48138b6d84051 (diff) | |
docs: add missing --prompt-interactive/-i flag documentation (#4950)
Diffstat (limited to 'docs/cli/configuration.md')
| -rw-r--r-- | docs/cli/configuration.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/cli/configuration.md b/docs/cli/configuration.md index 1a8f9a8c..52f9855f 100644 --- a/docs/cli/configuration.md +++ b/docs/cli/configuration.md @@ -349,6 +349,11 @@ Arguments passed directly when running the CLI can override other configurations - Example: `npm start -- --model gemini-1.5-pro-latest` - **`--prompt <your_prompt>`** (**`-p <your_prompt>`**): - Used to pass a prompt directly to the command. This invokes Gemini CLI in a non-interactive mode. +- **`--prompt-interactive <your_prompt>`** (**`-i <your_prompt>`**): + - Starts an interactive session with the provided prompt as the initial input. + - The prompt is processed within the interactive session, not before it. + - Cannot be used when piping input from stdin. + - Example: `gemini -i "explain this code"` - **`--sandbox`** (**`-s`**): - Enables sandbox mode for this session. - **`--sandbox-image`**: |
