()
| 40 | } |
| 41 | |
| 42 | func init() { |
| 43 | portsForwardCmd.Flags().StringVar(&addPortsFlag, "add", "", "Ports to add (comma-separated or ranges like 8000-8005)") |
| 44 | portsForwardCmd.Flags().StringVar(&removePortsFlag, "remove", "", "Ports to remove (comma-separated or ranges like 8000-8005)") |
| 45 | portsForwardCmd.SetHelpFunc(wrapHelp(helpmenus.RenderPortsForwardHelp)) |
| 46 | portsCmd.AddCommand(portsForwardCmd) |
| 47 | } |
| 48 | |
| 49 | func runPortsForward(cmd *cobra.Command, args []string) error { |
| 50 | client, err := getAuthenticatedClient() |
nothing calls this directly
no test coverage detected