mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-27 08:29:33 -05:00
25 lines
498 B
Go
25 lines
498 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 mini Constellation clusters.
|
||
|
func NewMiniCmd() *cobra.Command {
|
||
|
cmd := &cobra.Command{
|
||
|
Use: "mini",
|
||
|
Short: "Manage mini Constellation clusters",
|
||
|
Long: "Manage mini Constellation clusters.",
|
||
|
Args: cobra.ExactArgs(0),
|
||
|
}
|
||
|
|
||
|
cmd.AddCommand(newMiniUpCmd())
|
||
|
cmd.AddCommand(newMiniDownCmd())
|
||
|
|
||
|
return cmd
|
||
|
}
|