31 lines
702 B
Go
31 lines
702 B
Go
package setup
|
|
|
|
import (
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
// NewSetupCommand creates the setup command and its subcommands
|
|
func NewSetupCommand() *cobra.Command {
|
|
cmd := &cobra.Command{
|
|
Use: "setup",
|
|
Short: "Set up Wild Cloud infrastructure",
|
|
Long: `Set up Wild Cloud infrastructure components.
|
|
|
|
This command provides the setup workflow for initializing and configuring
|
|
your Wild Cloud personal infrastructure.`,
|
|
}
|
|
|
|
// Add subcommands
|
|
cmd.AddCommand(
|
|
newScaffoldCommand(),
|
|
newClusterCommand(),
|
|
newServicesCommand(),
|
|
)
|
|
|
|
return cmd
|
|
}
|
|
|
|
// newScaffoldCommand is implemented in scaffold.go
|
|
// newClusterCommand is implemented in cluster.go
|
|
// newServicesCommand is implemented in services.go
|