constellation/cli/internal/cmd/mini.go
github-actions[bot] 74c3c93dec
Update CLI reference (#248)
Co-authored-by: katexochen <49727155+katexochen@users.noreply.github.com>
2022-10-14 10:48:20 +02:00

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
}