mirror of
https://github.com/rancher/k3k.git
synced 2026-08-18 20:07:06 +00:00
* CLI cluster update Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
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
|
|
}
|