mirror of
https://github.com/kubesphere/kubekey.git
synced 2025-12-28 04:02:48 +00:00
17 lines
322 B
Go
17 lines
322 B
Go
package create
|
|
|
|
import (
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
func NewCmdCreate() *cobra.Command {
|
|
cmd := &cobra.Command{
|
|
Use: "create",
|
|
Short: "Create Cluster-Info Config or Kubernetes Cluster",
|
|
}
|
|
cmd.AddCommand(NewCmdCreateCfg())
|
|
cmd.AddCommand(NewCmdCreateCluster())
|
|
cmd.AddCommand(NewCmdCreateEtcd())
|
|
return cmd
|
|
}
|