Skip to content

Commit 85a69e5

Browse files
authored
Merge branch 'akabarki76:main' into main
2 parents 7bf6f00 + 9e61b35 commit 85a69e5

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

docs/cli/configuration.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,11 @@ Arguments passed directly when running the CLI can override other configurations
349349
- Example: `npm start -- --model gemini-1.5-pro-latest`
350350
- **`--prompt <your_prompt>`** (**`-p <your_prompt>`**):
351351
- Used to pass a prompt directly to the command. This invokes Gemini CLI in a non-interactive mode.
352+
- **`--prompt-interactive <your_prompt>`** (**`-i <your_prompt>`**):
353+
- Starts an interactive session with the provided prompt as the initial input.
354+
- The prompt is processed within the interactive session, not before it.
355+
- Cannot be used when piping input from stdin.
356+
- Example: `gemini -i "explain this code"`
352357
- **`--sandbox`** (**`-s`**):
353358
- Enables sandbox mode for this session.
354359
- **`--sandbox-image`**:

0 commit comments

Comments
 (0)