summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstarsandskies <[email protected]>2025-06-20 09:43:47 -0700
committerGitHub <[email protected]>2025-06-20 16:43:47 +0000
commitfefe97a1db74862a4105bd644d43c86bcb3d650a (patch)
treed0fb2c8b780b59e1aee634e602f0f6a98f865040
parent639f8e70d2b549f1fbb494dc71c5471f09352097 (diff)
Add missing command and alphabetize docs/cli/commands.md (#1194)
As noted in Issue #1189, the /stats command is missing. While we're here, alphabetizing the / commands makes sense in order to better organization the page.
-rw-r--r--docs/cli/commands.md38
1 files changed, 21 insertions, 17 deletions
diff --git a/docs/cli/commands.md b/docs/cli/commands.md
index b1c7177d..e58c2add 100644
--- a/docs/cli/commands.md
+++ b/docs/cli/commands.md
@@ -6,6 +6,19 @@ Gemini CLI supports several built-in commands to help you manage your session, c
Slash commands provide meta-level control over the CLI itself.
+- **`/bug`**
+
+ - **Description:** File an issue about Gemini CLI. By default, the issue is filed within the GitHub repository for Gemini CLI. The string you enter after `/bug` will become the headline for the bug being filed. The default `/bug` behavior can be modified using the `bugCommand` setting in your `.gemini/settings.json` files.
+
+- **`/clear`**
+
+ - **Description:** Clear the terminal screen, including the visible session history and scrollback within the CLI. The underlying session data (for history recall) might be preserved depending on the exact implementation, but the visual display is cleared.
+ - **Keyboard shortcut:** Press **Ctrl+L** at any time to perform a clear action.
+
+- **`/compress`**
+
+ - **Description:** Replace the entire chat context with a summary. This saves on tokens used for future tasks while retaining a high level summary of what has happened.
+
- **`/editor`**
- **Description:** Open a dialog for selecting supported editors.
@@ -26,15 +39,6 @@ Slash commands provide meta-level control over the CLI itself.
- **Description:** Show the full JSON schema for the tool's configured parameters.
- **Keyboard Shortcut:** Press **Ctrl+T** at any time to toggle between showing and hiding tool descriptions.
-- **`/clear`**
-
- - **Description:** Clear the terminal screen, including the visible session history and scrollback within the CLI. The underlying session data (for history recall) might be preserved depending on the exact implementation, but the visual display is cleared.
- - **Keyboard shortcut:** Press **Ctrl+L** at any time to perform a clear action.
-
-- [**`/theme`**](./themes.md)
-
- - **Description:** Open a dialog that lets you change the visual theme of Gemini CLI.
-
- **`/memory`**
- **Description:** Manage the AI's instructional context (hierarchical memory loaded from `GEMINI.md` files).
@@ -45,9 +49,13 @@ Slash commands provide meta-level control over the CLI itself.
- **Description:** Reload the hierarchical instructional memory from all `GEMINI.md` files found in the configured locations (global, project/ancestors, and sub-directories). This command updates the model with the latest `GEMINI.md` content.
- **Note:** For more details on how `GEMINI.md` files contribute to hierarchical memory, see the [CLI Configuration documentation](./configuration.md#4-geminimd-files-hierarchical-instructional-context).
-- **`/quit`** (or **`/exit`**)
+- **`/stats`**
- - **Description:** Exit Gemini CLI.
+ - **Description:** Display detailed statistics for the current Gemini CLI session, such as the session duration.
+
+- [**`/theme`**](./themes.md)
+
+ - **Description:** Open a dialog that lets you change the visual theme of Gemini CLI.
- [**`/tools`**](../tools/index.md)
@@ -58,13 +66,9 @@ Slash commands provide meta-level control over the CLI itself.
- **`nodesc`** or **`nodescriptions`**:
- **Description:** Hide tool descriptions, showing only the tool names.
-- **`/compress`**
-
- - **Description:** Replace the entire chat context with a summary. This saves on tokens used for future tasks while retaining a high level summary of what has happened.
-
-- **`/bug`**
+- **`/quit`** (or **`/exit`**)
- - **Description:** File an issue about Gemini CLI. By default, the issue is filed within the GitHub repository for Gemini CLI. The string you enter after `/bug` will become the headline for the bug being filed. The default `/bug` behavior can be modified using the `bugCommand` setting in your `.gemini/settings.json` files.
+ - **Description:** Exit Gemini CLI.
## At commands (`@`)