GH-CODESPACE-PORTS(1) GitHub CLI manual GH-CODESPACE-PORTS(1)

gh-codespace-ports - List ports in a codespace

gh codespace ports [flags]

Forward ports

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)

Nov 2024