mirror of
https://github.com/rancher/k3k.git
synced 2026-02-14 18:10:01 +00:00
22 lines
346 B
Go
22 lines
346 B
Go
package cmds
|
|
|
|
import (
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
func NewClusterCmd(appCtx *AppContext) *cobra.Command {
|
|
cmd := &cobra.Command{
|
|
Use: "cluster",
|
|
Short: "K3k cluster command.",
|
|
}
|
|
|
|
cmd.AddCommand(
|
|
NewClusterCreateCmd(appCtx),
|
|
NewClusterUpdateCmd(appCtx),
|
|
NewClusterDeleteCmd(appCtx),
|
|
NewClusterListCmd(appCtx),
|
|
)
|
|
|
|
return cmd
|
|
}
|