Files
wild-cloud/wild-cli/cmd/wild/cluster/cluster.go

30 lines
660 B
Go

package cluster
import (
"github.com/spf13/cobra"
)
// NewClusterCommand creates the cluster command and its subcommands
func NewClusterCommand() *cobra.Command {
cmd := &cobra.Command{
Use: "cluster",
Short: "Manage Wild Cloud cluster",
Long: `Manage the Kubernetes cluster infrastructure.
This includes node management, configuration generation, and service deployment.`,
}
// Add subcommands
cmd.AddCommand(
newConfigCommand(),
newNodesCommand(),
newServicesCommand(),
)
return cmd
}
// newConfigCommand is implemented in config.go
// newNodesCommand is implemented in nodes.go
// newServicesCommand is implemented in services.go