mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-21 05:44:38 -05:00
74c3c93dec
Co-authored-by: katexochen <49727155+katexochen@users.noreply.github.com>
25 lines
495 B
Go
25 lines
495 B
Go
/*
|
|
Copyright (c) Edgeless Systems GmbH
|
|
|
|
SPDX-License-Identifier: AGPL-3.0-only
|
|
*/
|
|
|
|
package cmd
|
|
|
|
import "github.com/spf13/cobra"
|
|
|
|
// NewMiniCmd creates a new cobra.Command for managing MiniConstellation clusters.
|
|
func NewMiniCmd() *cobra.Command {
|
|
cmd := &cobra.Command{
|
|
Use: "mini",
|
|
Short: "Manage MiniConstellation clusters",
|
|
Long: "Manage MiniConstellation clusters.",
|
|
Args: cobra.ExactArgs(0),
|
|
}
|
|
|
|
cmd.AddCommand(newMiniUpCmd())
|
|
cmd.AddCommand(newMiniDownCmd())
|
|
|
|
return cmd
|
|
}
|