mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-22 09:42:39 -07:00
24 lines
494 B
TypeScript
24 lines
494 B
TypeScript
/**
|
|
* @license
|
|
* Copyright 2025 Google LLC
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
import {
|
|
CommandKind,
|
|
type OpenDialogActionReturn,
|
|
type SlashCommand,
|
|
} from './types.js';
|
|
|
|
export const settingsCommand: SlashCommand = {
|
|
name: 'settings',
|
|
description: 'View and edit Gemini CLI settings',
|
|
kind: CommandKind.BUILT_IN,
|
|
autoExecute: true,
|
|
isSafeConcurrent: true,
|
|
action: (_context, _args): OpenDialogActionReturn => ({
|
|
type: 'dialog',
|
|
dialog: 'settings',
|
|
}),
|
|
};
|