DOKK / manpages / debian 13 / gh / gh-codespace-ports.1.en
GH-CODESPACE-PORTS(1) GitHub CLI manual GH-CODESPACE-PORTS(1)

gh-codespace-ports - List ports in a codespace

gh codespace ports [flags]

gh_codespace_ports_forward(1)">">gh-codespace-ports-forward(1)
Forward ports

gh_codespace_ports_visibility(1)">">gh-codespace-ports-visibility(1)
Change the visibility of the forwarded port

Name of the codespace

Filter JSON output using a jq expression

Output JSON with the specified fields

Filter codespace selection by repository name (user/repo)

Filter codespace selection by repository owner (username or org)

Format JSON output using a Go template; see "gh help formatting"

gh-codespace(1)

Jan 2025