group commands

This commit is contained in:
Jan Prochazka
2021-03-15 21:06:15 +01:00
parent d4a35fb414
commit 321d5d71de
9 changed files with 49 additions and 28 deletions

View File

@@ -12,6 +12,7 @@ export interface GlobalCommand {
name: string;
text?: string /* category: name */;
keyText?: string;
keyTextFromGroup?: string; // automatically filled from group
group?: string;
getSubCommands?: () => SubCommand[];
onClick?: Function;