Skip to content

Commit

Permalink
✨ feat: 想要自动化绑定命令
Browse files Browse the repository at this point in the history
  • Loading branch information
2439905184 committed Aug 28, 2022
1 parent c4d1b46 commit ed1cb21
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Commands.nim
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit ed1cb21

Please sign in to comment.