From f9efb2e24f41d8738d6ea8d1b8e8be2dff3bb83b Mon Sep 17 00:00:00 2001 From: Ali Al Jufairi Date: Tue, 12 Aug 2025 13:08:35 +0900 Subject: [PATCH] docs(commands): add /settings command for user-friendly settings editing (#5984) Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- docs/cli/commands.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/cli/commands.md b/docs/cli/commands.md index c912ca2d..48fa9f3f 100644 --- a/docs/cli/commands.md +++ b/docs/cli/commands.md @@ -88,6 +88,11 @@ Slash commands provide meta-level control over the CLI itself. - **Usage:** `/restore [tool_call_id]` - **Note:** Only available if the CLI is invoked with the `--checkpointing` option or configured via [settings](./configuration.md). See [Checkpointing documentation](../checkpointing.md) for more details. +- **`/settings`** + - **Description:** Open the settings editor to view and modify Gemini CLI settings. + - **Details:** This command provides a user-friendly interface for changing settings that control the behavior and appearance of Gemini CLI. It is equivalent to manually editing the `.gemini/settings.json` file, but with validation and guidance to prevent errors. + - **Usage:** Simply run `/settings` and the editor will open. You can then browse or search for specific settings, view their current values, and modify them as desired. Changes to some settings are applied immediately, while others require a restart. + - **`/stats`** - **Description:** Display detailed statistics for the current Gemini CLI session, including token usage, cached token savings (when available), and session duration. Note: Cached token information is only displayed when cached tokens are being used, which occurs with API key authentication but not with OAuth authentication at this time.