package cmd

import (
	"github.com/carapace-sh/carapace"
	"github.com/carapace-sh/carapace-bin/pkg/actions/net"
	"github.com/spf13/cobra"
)

var connection_downCmd = &cobra.Command{
	Use:   "down",
	Short: "Deactivate a connection",
	Run:   func(cmd *cobra.Command, args []string) {},
}

func init() {
	carapace.Gen(connection_downCmd).Standalone()

	connectionCmd.AddCommand(connection_downCmd)

	carapace.Gen(connection_downCmd).PositionalCompletion(
		net.ActionConnections(),
	)
}
