gemini-cli/packages/cli/src/ui/commands/editorCommand.ts

17 lines
373 B
TypeScript

/**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import { type OpenDialogActionReturn, type SlashCommand } from './types.js';
export const editorCommand: SlashCommand = {
name: 'editor',
description: 'set external editor preference',
action: (): OpenDialogActionReturn => ({
type: 'dialog',
dialog: 'editor',
}),
};