introduce openCommandDialog & closeCommandDialog

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen committed 2021-01-21 14:57:29 +02:00
1 parent f54f1c31a4
commit f38b307d9e
18 files changed
+272 -363

No files matched your search

@@ -12,6 +12,7 @@ export type CommandContext = {
export interface CommandRegistration {
id: string;
title: string;
scope: "cluster" | "global";
action: (context: CommandContext) => void;
isActive?: (context: CommandContext) => boolean;
}