qwen-code/packages/cli/src/ui/commands/editorCommand.ts
Harold Mciver fbe09cd35e
update /editor to new slash command arch (#4153)
Co-authored-by: Abhi <abhipatel@google.com>
2025-07-17 00:27:36 +00:00

16 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',
}),
};