summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/cli/configuration.md5
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`**: