chore: some refactor and semplification

This commit is contained in:
2025-01-19 11:25:31 +01:00
parent d473941773
commit 3bd243778c
8 changed files with 50 additions and 41 deletions

View File

@@ -1,7 +1,7 @@
import { ShortcutsResponse } from './types';
import { pingCommand } from './commands/ping';
import { diaryCommand } from './commands/diary';
import { CommandParser, diaryCommands } from './commands/commandParser';
import { CommandParser, diaryCommands } from './commands/helpers/commandParser';
type CommandHandler = (
parameters?: Record<string, string>