summaryrefslogtreecommitdiff
path: root/packages/cli/src/ui/commands/editorCommand.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/cli/src/ui/commands/editorCommand.ts')
-rw-r--r--packages/cli/src/ui/commands/editorCommand.ts7
1 files changed, 6 insertions, 1 deletions
diff --git a/packages/cli/src/ui/commands/editorCommand.ts b/packages/cli/src/ui/commands/editorCommand.ts
index dbfafa51..5b5c4c5d 100644
--- a/packages/cli/src/ui/commands/editorCommand.ts
+++ b/packages/cli/src/ui/commands/editorCommand.ts
@@ -4,11 +4,16 @@
* SPDX-License-Identifier: Apache-2.0
*/
-import { type OpenDialogActionReturn, type SlashCommand } from './types.js';
+import {
+ CommandKind,
+ type OpenDialogActionReturn,
+ type SlashCommand,
+} from './types.js';
export const editorCommand: SlashCommand = {
name: 'editor',
description: 'set external editor preference',
+ kind: CommandKind.BUILT_IN,
action: (): OpenDialogActionReturn => ({
type: 'dialog',
dialog: 'editor',