From ed1cb21275b4ec6f327639c87c36b138dbb8632d Mon Sep 17 00:00:00 2001 From: 2439905184 Date: Sun, 28 Aug 2022 10:51:03 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat:=20=E6=83=B3=E8=A6=81=E8=87=AA?= =?UTF-8?q?=E5=8A=A8=E5=8C=96=E7=BB=91=E5=AE=9A=E5=91=BD=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Commands.nim | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 Commands.nim diff --git a/Commands.nim b/Commands.nim new file mode 100644 index 0000000..3065f6e --- /dev/null +++ b/Commands.nim @@ -0,0 +1,6 @@ +var commands* = ["help","download_game","install_game","uninstall_game","run","download_jre","install_jre","remove_download","change_proxy"] + +# todo 把指定的命令绑定到指定的函数上面去 +proc register_command*(p_command: string, p_proc: string) = + + discard \ No newline at end of file