2023-04-13 11:43:03 +02:00

21 lines
532 B
Go

package cmd
import (
"github.com/rsteube/carapace"
"github.com/spf13/cobra"
)
var network_pruneCmd = &cobra.Command{
Use: "prune [OPTIONS]",
Short: "Remove all unused networks",
Run: func(cmd *cobra.Command, args []string) {},
}
func init() {
carapace.Gen(network_pruneCmd).Standalone()
network_pruneCmd.Flags().String("filter", "", "Provide filter values (e.g. \"until=<timestamp>\")")
network_pruneCmd.Flags().BoolP("force", "f", false, "Do not prompt for confirmation")
networkCmd.AddCommand(network_pruneCmd)
}