mirror of
https://github.com/rancher/k3k.git
synced 2026-04-05 10:16:56 +00:00
* added clusterset create command, small refactor with appcontext * added clusterset delete * updated docs
17 lines
283 B
Go
17 lines
283 B
Go
package cmds
|
|
|
|
import (
|
|
"github.com/urfave/cli/v2"
|
|
)
|
|
|
|
func NewClusterCmd(appCtx *AppContext) *cli.Command {
|
|
return &cli.Command{
|
|
Name: "cluster",
|
|
Usage: "cluster command",
|
|
Subcommands: []*cli.Command{
|
|
NewClusterCreateCmd(appCtx),
|
|
NewClusterDeleteCmd(appCtx),
|
|
},
|
|
}
|
|
}
|