Files
uncloud/cmd/ucind/cluster/root.go
T
2025-07-21 19:30:02 +02:00

21 lines
334 B
Go

package cluster
import (
"github.com/spf13/cobra"
)
const DefaultClusterName = "ucind-default"
func NewRootCommand() *cobra.Command {
cmd := &cobra.Command{
Use: "cluster",
Short: "Manage local Docker-based clusters.",
}
cmd.AddCommand(
NewCreateCommand(),
// NewListCommand(),
NewRemoveCommand(),
)
return cmd
}