diff options
Diffstat (limited to 'packages/cli/src/ui/commands/editorCommand.ts')
| -rw-r--r-- | packages/cli/src/ui/commands/editorCommand.ts | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/packages/cli/src/ui/commands/editorCommand.ts b/packages/cli/src/ui/commands/editorCommand.ts new file mode 100644 index 00000000..dbfafa51 --- /dev/null +++ b/packages/cli/src/ui/commands/editorCommand.ts @@ -0,0 +1,16 @@ +/** + * @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', + }), +}; |
