First commit of golang CLI.

This commit is contained in:
2025-08-31 11:51:11 -07:00
parent 4ca06aecb6
commit f0a2098f11
51 changed files with 8840 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
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