mirror of
https://github.com/kubesphere/kubekey.git
synced 2025-12-28 12:12:51 +00:00
23 lines
484 B
Go
23 lines
484 B
Go
package cmd
|
|
|
|
import (
|
|
"github.com/kubesphere/kubekey/cmd/create"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var Verbose bool
|
|
|
|
func NewKubekeyCommand() *cobra.Command {
|
|
var rootCmd = &cobra.Command{
|
|
Use: "kk",
|
|
Short: "Kubernetes Deploy Tool",
|
|
Long: "Deploy a Kubernetes Cluster Flexibly and Easily .",
|
|
}
|
|
|
|
rootCmd.AddCommand(create.NewCmdCreate())
|
|
rootCmd.AddCommand(NewCmdScaleCluster())
|
|
rootCmd.AddCommand(NewCmdVersion())
|
|
rootCmd.AddCommand(NewCmdResetCluster())
|
|
return rootCmd
|
|
}
|