diff --git a/cli/internal/cmd/minidown_windows.go b/cli/internal/cmd/minidown_windows.go new file mode 100644 index 000000000..2788e6b2b --- /dev/null +++ b/cli/internal/cmd/minidown_windows.go @@ -0,0 +1,33 @@ +//go:build !windows +// +build !windows + +/* +Copyright (c) Edgeless Systems GmbH + +SPDX-License-Identifier: AGPL-3.0-only +*/ + +package cmd + +import ( + "fmt" + "runtime" + + "github.com/spf13/cobra" +) + +func newMiniDownCmd() *cobra.Command { + cmd := &cobra.Command{ + Use: "down", + Short: "Destroy a MiniConstellation cluster", + Long: "Destroy a MiniConstellation cluster.", + Args: cobra.ExactArgs(0), + RunE: runDown, + } + + return cmd +} + +func runDown(cmd *cobra.Command, args []string) error { + return fmt.Errorf("termination of a QEMU based Constellation is not supported for %s/%s", runtime.GOOS, runtime.GOARCH) +}