summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorYuki Okita <[email protected]>2025-08-01 04:02:08 +0900
committerGitHub <[email protected]>2025-07-31 19:02:08 +0000
commitf9a05401c1d2d93d1251d3ebf2c079ee1f4ba8df (patch)
tree870f1cf4b31ed974ca180bb7068388ba2dfc3788 /docs
parent9a6422f331294ea2f56d67599ed142d09cc33320 (diff)
feat: Multi-Directory Workspace Support (part2: add "directory" command) (#5241)
Diffstat (limited to 'docs')
-rw-r--r--docs/cli/commands.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/cli/commands.md b/docs/cli/commands.md
index d5072ab3..58717635 100644
--- a/docs/cli/commands.md
+++ b/docs/cli/commands.md
@@ -38,6 +38,17 @@ Slash commands provide meta-level control over the CLI itself.
- **`/copy`**
- **Description:** Copies the last output produced by Gemini CLI to your clipboard, for easy sharing or reuse.
+- **`/directory`** (or **`/dir`**)
+ - **Description:** Manage workspace directories for multi-directory support.
+ - **Sub-commands:**
+ - **`add`**:
+ - **Description:** Add a directory to the workspace. The path can be absolute or relative to the current working directory. Moreover, the reference from home directory is supported as well.
+ - **Usage:** `/directory add <path1>,<path2>`
+ - **Note:** Disabled in restrictive sandbox profiles. If you're using that, use `--include-directories` when starting the session instead.
+ - **`show`**:
+ - **Description:** Display all directories added by `/direcotry add` and `--include-directories`.
+ - **Usage:** `/directory show`
+
- **`/editor`**
- **Description:** Open a dialog for selecting supported editors.