diff --git a/cmd/hk4e/dispatch.go b/cmd/hk4e/dispatch.go index a58ded68..ec24510e 100644 --- a/cmd/hk4e/dispatch.go +++ b/cmd/hk4e/dispatch.go @@ -8,7 +8,6 @@ import ( "github.com/spf13/cobra" ) -// DispatchCmd func DispatchCmd() *cobra.Command { var cfg string c := &cobra.Command{ diff --git a/cmd/hk4e/fight.go b/cmd/hk4e/fight.go index 8c2198bb..e7701352 100644 --- a/cmd/hk4e/fight.go +++ b/cmd/hk4e/fight.go @@ -8,7 +8,6 @@ import ( "github.com/spf13/cobra" ) -// FightCmd 检查配表命令 func FightCmd() *cobra.Command { var cfg string c := &cobra.Command{ diff --git a/cmd/hk4e/gate.go b/cmd/hk4e/gate.go index cd66d69a..d1af7d03 100644 --- a/cmd/hk4e/gate.go +++ b/cmd/hk4e/gate.go @@ -8,7 +8,6 @@ import ( "github.com/spf13/cobra" ) -// GateCmd 检查配表命令 func GateCmd() *cobra.Command { var cfg string c := &cobra.Command{ diff --git a/cmd/hk4e/gm.go b/cmd/hk4e/gm.go index 55ba1662..8b30b3b9 100644 --- a/cmd/hk4e/gm.go +++ b/cmd/hk4e/gm.go @@ -8,7 +8,6 @@ import ( "github.com/spf13/cobra" ) -// GMCmd func GMCmd() *cobra.Command { var cfg string c := &cobra.Command{ diff --git a/cmd/hk4e/gs.go b/cmd/hk4e/gs.go index 0afaf6c7..bbfe3b12 100644 --- a/cmd/hk4e/gs.go +++ b/cmd/hk4e/gs.go @@ -8,7 +8,6 @@ import ( "github.com/spf13/cobra" ) -// GSCmd func GSCmd() *cobra.Command { var cfg string c := &cobra.Command{ diff --git a/cmd/hk4e/main.go b/cmd/hk4e/main.go index c7685e68..49a5543e 100644 --- a/cmd/hk4e/main.go +++ b/cmd/hk4e/main.go @@ -20,10 +20,13 @@ func main() { SilenceUsage: true, } rootCmd.AddCommand( - GSCmd(), - GMCmd(), + NodeCmd(), DispatchCmd(), GateCmd(), + FightCmd(), + PathfindingCmd(), + GSCmd(), + GMCmd(), ) if err := rootCmd.Execute(); err != nil { diff --git a/cmd/hk4e/node.go b/cmd/hk4e/node.go index 55eef015..a0884e0d 100644 --- a/cmd/hk4e/node.go +++ b/cmd/hk4e/node.go @@ -8,7 +8,6 @@ import ( "github.com/spf13/cobra" ) -// NodeCmd 检查配表命令 func NodeCmd() *cobra.Command { var cfg string c := &cobra.Command{ diff --git a/cmd/hk4e/pathfinding.go b/cmd/hk4e/pathfinding.go index dd8f97da..84321c1b 100644 --- a/cmd/hk4e/pathfinding.go +++ b/cmd/hk4e/pathfinding.go @@ -8,7 +8,6 @@ import ( "github.com/spf13/cobra" ) -// PathfindingCmd 检查配表命令 func PathfindingCmd() *cobra.Command { var cfg string c := &cobra.Command{