init ucind CLI commands

This commit is contained in:
Pavel Sviderski
2024-11-28 13:54:37 +10:00
parent 73785007cb
commit 7aa7a9fea1
4 changed files with 122 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
package cluster
import (
"github.com/spf13/cobra"
)
const DefaultClusterName = "ucind-default"
func NewRootCommand() *cobra.Command {
cmd := &cobra.Command{
Use: "cluster",
Short: "Manage local Docker-based clusters.",
}
cmd.AddCommand(
NewCreateCommand(),
//NewListCommand(),
NewRemoveCommand(),
)
return cmd
}