kubekey/cmd/create/create.go
2020-04-21 23:36:30 +08:00

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
}