From f9a05401c1d2d93d1251d3ebf2c079ee1f4ba8df Mon Sep 17 00:00:00 2001 From: Yuki Okita Date: Fri, 1 Aug 2025 04:02:08 +0900 Subject: feat: Multi-Directory Workspace Support (part2: add "directory" command) (#5241) --- docs/cli/commands.md | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'docs/cli/commands.md') 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 ,` + - **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. -- cgit v1.2.3