17 lines
373 B
TypeScript
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',
|
|
}),
|
|
};
|