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,32 @@
package util
import (
"github.com/spf13/cobra"
)
// NewBackupCommand is implemented in backup.go
// NewDashboardCommand is implemented in dashboard.go
// NewTemplateCommand creates the template command
func NewTemplateCommand() *cobra.Command {
cmd := &cobra.Command{
Use: "template",
Short: "Process templates",
Long: `Process template files with Wild Cloud configuration.`,
}
cmd.AddCommand(newCompileCommand())
return cmd
}
// NewStatusCommand creates the status command
func NewStatusCommand() *cobra.Command {
return &cobra.Command{
Use: "status",
Short: "Show Wild Cloud status",
Long: `Show the overall status of the Wild Cloud system.`,
RunE: runStatus,
}
}
// NewVersionCommand is implemented in version.go