2025-08-10 09:04:52 +09:00
|
|
|
/**
|
|
|
|
|
* @license
|
|
|
|
|
* Copyright 2025 Google LLC
|
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
*/
|
|
|
|
|
|
2025-08-26 00:04:53 +02:00
|
|
|
import type { OpenDialogActionReturn, SlashCommand } from './types.js';
|
|
|
|
|
import { CommandKind } from './types.js';
|
2025-08-10 09:04:52 +09:00
|
|
|
|
|
|
|
|
export const settingsCommand: SlashCommand = {
|
|
|
|
|
name: 'settings',
|
|
|
|
|
description: 'View and edit Gemini CLI settings',
|
|
|
|
|
kind: CommandKind.BUILT_IN,
|
2025-12-01 12:29:03 -05:00
|
|
|
autoExecute: true,
|
2025-08-10 09:04:52 +09:00
|
|
|
action: (_context, _args): OpenDialogActionReturn => ({
|
|
|
|
|
type: 'dialog',
|
|
|
|
|
dialog: 'settings',
|
|
|
|
|
}),
|
|
|
|
|
};
|