First commit of golang CLI.
This commit is contained in:
30
wild-cli/cmd/wild/setup/setup.go
Normal file
30
wild-cli/cmd/wild/setup/setup.go
Normal file
@@ -0,0 +1,30 @@
|
||||
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
|
Reference in New Issue
Block a user