From 97710d1a79e7ee2b41279dc19e7f38e8801a8ddf Mon Sep 17 00:00:00 2001 From: Zef Hemel Date: Mon, 29 May 2023 09:56:47 +0200 Subject: [PATCH] Client reset command --- plugs/core/core.plug.yaml | 5 +++++ plugs/core/debug.ts | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/plugs/core/core.plug.yaml b/plugs/core/core.plug.yaml index 2f104f5b..99ba90fb 100644 --- a/plugs/core/core.plug.yaml +++ b/plugs/core/core.plug.yaml @@ -326,6 +326,11 @@ functions: path: ./debug.ts:parsePageCommand command: name: "Debug: Parse Document" + resetClientCommand: + path: ./debug.ts:resetClientCommand + command: + name: "Debug: Reset Client" + versionCommand: path: ./help.ts:versionCommand diff --git a/plugs/core/debug.ts b/plugs/core/debug.ts index 3b77cb44..811a41ca 100644 --- a/plugs/core/debug.ts +++ b/plugs/core/debug.ts @@ -10,3 +10,7 @@ export async function parsePageCommand() { ), ); } + +export async function resetClientCommand() { + editor.openUrl("/.client/reset.html"); +}