summaryrefslogtreecommitdiff
path: root/packages/cli/src/ui/commands/settingsCommand.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/cli/src/ui/commands/settingsCommand.ts')
-rw-r--r--packages/cli/src/ui/commands/settingsCommand.ts17
1 files changed, 17 insertions, 0 deletions
diff --git a/packages/cli/src/ui/commands/settingsCommand.ts b/packages/cli/src/ui/commands/settingsCommand.ts
new file mode 100644
index 00000000..26807852
--- /dev/null
+++ b/packages/cli/src/ui/commands/settingsCommand.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2025 Google LLC
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
+import { CommandKind, OpenDialogActionReturn, SlashCommand } from './types.js';
+
+export const settingsCommand: SlashCommand = {
+ name: 'settings',
+ description: 'View and edit Gemini CLI settings',
+ kind: CommandKind.BUILT_IN,
+ action: (_context, _args): OpenDialogActionReturn => ({
+ type: 'dialog',
+ dialog: 'settings',
+ }),
+};