fix(copyCommand): provide friendlier error messages for /copy command (#6723)

Co-authored-by: Ben Guo <hundunben@gmail.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Jacob Richman <jacob314@gmail.com>
This commit is contained in:
Ben Guo
2025-08-23 00:58:35 +08:00
committed by GitHub
parent c4a788b7b2
commit 9c1490e985
5 changed files with 114 additions and 16 deletions

View File

@@ -40,6 +40,9 @@ 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.
- **Note:** This command requires platform-specific clipboard tools to be installed.
- On Linux, it requires `xclip` or `xsel`. You can typically install them using your system's package manager.
- On macOS, it requires `pbcopy`, and on Windows, it requires `clip`. These tools are typically pre-installed on their respective systems.
- **`/directory`** (or **`/dir`**)
- **Description:** Manage workspace directories for multi-directory support.