(host: SlashCommandHost, args: string)
| 189 | } |
| 190 | |
| 191 | export async function handleEditorCommand(host: SlashCommandHost, args: string): Promise<void> { |
| 192 | const command = args.trim(); |
| 193 | if (command.length === 0) { |
| 194 | showEditorPicker(host); |
| 195 | return; |
| 196 | } |
| 197 | await applyEditorChoice(host, command); |
| 198 | } |
| 199 | |
| 200 | export async function handleThemeCommand(host: SlashCommandHost, args: string): Promise<void> { |
| 201 | const theme = args.trim(); |
no test coverage detected