simplify setup with script

This commit is contained in:
yusing
2025-02-18 05:43:33 +08:00
parent 05cbf99237
commit b2a6a20f10
6 changed files with 254 additions and 184 deletions

View File

@@ -42,9 +42,6 @@ func main() {
args := common.GetArgs()
switch args.Command {
case common.CommandSetup:
internal.Setup()
return
case common.CommandReload:
if err := query.ReloadServer(); err != nil {
E.LogFatal("server reload error", err)