mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 11:03:34 +00:00
--------- Co-authored-by: Pasha Sviderski <me@psviderski.name> Co-authored-by: Anton Ovchinnikov <anton@tonyo.info>
21 lines
334 B
Go
21 lines
334 B
Go
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
|
|
}
|