simplify setup with script

This commit is contained in:
yusing
2025-02-18 05:39:15 +08:00
parent 0c112e1db1
commit 265b52dccb
6 changed files with 241 additions and 156 deletions

View File

@@ -2,7 +2,6 @@ package common
const (
CommandStart = ""
CommandSetup = "setup"
CommandValidate = "validate"
CommandListConfigs = "ls-config"
CommandListRoutes = "ls-routes"
@@ -18,7 +17,6 @@ type MainServerCommandValidator struct{}
func (v MainServerCommandValidator) IsCommandValid(cmd string) bool {
switch cmd {
case CommandStart,
CommandSetup,
CommandValidate,
CommandListConfigs,
CommandListRoutes,