From 9e61b3510c0cd7f333f40f68e87d981aff19aab1 Mon Sep 17 00:00:00 2001 From: Dmitry Lyalin Date: Sat, 26 Jul 2025 22:41:19 -0400 Subject: [PATCH] docs: add missing --prompt-interactive/-i flag documentation (#4950) --- docs/cli/configuration.md | 5 +++++ 1 file changed, 5 insertions(+) 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 `** (**`-p `**): - Used to pass a prompt directly to the command. This invokes Gemini CLI in a non-interactive mode. +- **`--prompt-interactive `** (**`-i `**): + - 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`**: