summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorKazunari001 <[email protected]>2025-07-31 10:52:40 +0900
committerGitHub <[email protected]>2025-07-31 01:52:40 +0000
commit3ef2c6d19815769747b4970b7e4356d18e1af889 (patch)
treef7046a76f7b1e3912d23e269cc87580e99d89606 /docs
parentc77a22d4c6b3a8bb4d4bbdb636774b2aa2c2da3b (diff)
feat(docs): Add `/init` command in commands.md (#5187)
Co-authored-by: saucykazugmail <[email protected]> Co-authored-by: Gal Zahavi <[email protected]> Co-authored-by: Jacob Richman <[email protected]>
Diffstat (limited to 'docs')
-rw-r--r--docs/cli/commands.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/cli/commands.md b/docs/cli/commands.md
index 50d18de4..d5072ab3 100644
--- a/docs/cli/commands.md
+++ b/docs/cli/commands.md
@@ -111,6 +111,9 @@ Slash commands provide meta-level control over the CLI itself.
- **Persistent setting:** Vim mode preference is saved to `~/.gemini/settings.json` and restored between sessions
- **Status indicator:** When enabled, shows `[NORMAL]` or `[INSERT]` in the footer
+- **`/init`**
+ - **Description:** To help users easily create a `GEMINI.md` file, this command analyzes the current directory and generates a tailored context file, making it simpler for them to provide project-specific instructions to the Gemini agent.
+
### Custom Commands
For a quick start, see the [example](#example-a-pure-function-refactoring-command) below.