2022-10-07 03:38:43 -04:00
|
|
|
/*
|
|
|
|
Copyright (c) Edgeless Systems GmbH
|
|
|
|
|
|
|
|
SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
*/
|
|
|
|
|
|
|
|
package cmd
|
|
|
|
|
|
|
|
import "github.com/spf13/cobra"
|
|
|
|
|
2022-10-14 04:48:20 -04:00
|
|
|
// NewMiniCmd creates a new cobra.Command for managing MiniConstellation clusters.
|
2022-10-07 03:38:43 -04:00
|
|
|
func NewMiniCmd() *cobra.Command {
|
|
|
|
cmd := &cobra.Command{
|
|
|
|
Use: "mini",
|
2022-10-14 04:48:20 -04:00
|
|
|
Short: "Manage MiniConstellation clusters",
|
|
|
|
Long: "Manage MiniConstellation clusters.",
|
2022-10-07 03:38:43 -04:00
|
|
|
Args: cobra.ExactArgs(0),
|
|
|
|
}
|
|
|
|
|
|
|
|
cmd.AddCommand(newMiniUpCmd())
|
|
|
|
cmd.AddCommand(newMiniDownCmd())
|
|
|
|
|
|
|
|
return cmd
|
|
|
|
}
|