MCPcopy Create free account
hub / github.com/Thunder-Compute/thunder-cli / init

Function init

cmd/ports_forward.go:42–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

40}
41
42func 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
49func runPortsForward(cmd *cobra.Command, args []string) error {
50 client, err := getAuthenticatedClient()

Callers

nothing calls this directly

Calls 1

wrapHelpFunction · 0.85

Tested by

no test coverage detected