feat: add restore backup zip

This commit is contained in:
engigu
2026-02-27 23:51:32 +08:00
parent 416c47d8e7
commit 22e3e89ba0
4 changed files with 52 additions and 0 deletions
+2
View File
@@ -3,6 +3,7 @@ package cmd
import (
"github.com/engigu/baihu-panel/cmd/reposync"
"github.com/engigu/baihu-panel/cmd/resetpwd"
"github.com/engigu/baihu-panel/cmd/restore"
)
// CommandHandler 定义命令执行函数
@@ -12,4 +13,5 @@ type CommandHandler func(args []string)
var Handlers = map[string]CommandHandler{
"reposync": reposync.Run,
"resetpwd": resetpwd.Run,
"restore": restore.Run,
}