gh codespace ports

List ports in a codespace

Subcommands

NameDescription
forwardForward ports
visibilityChange the visibility of the forwarded port

Options

NameDescription
-c, --codespace <string>Name of the codespace
-q, --jq <expression>Filter JSON output using a jq expression
--json <fields>Output JSON with the specified fields
-t, --template <string>Format JSON output using a Go template; see 'gh help formatting'