Files
sunhpc-go/cmd/init/init.go
2026-02-14 05:36:00 +08:00

18 lines
314 B
Go

package initcmd
import (
"github.com/spf13/cobra"
)
var Cmd = &cobra.Command{
Use: "init",
Short: "初始化集群配置",
Long: "初始化 SunHPC 配置文件、数据库、系统参数及相关服务",
}
func init() {
Cmd.AddCommand(configCmd)
Cmd.AddCommand(systemCmd)
Cmd.AddCommand(serviceCmd)
}