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

gh-codespace-ports-visibility - Change the visibility of the forwarded port

gh codespace ports visibility <port>:{public|private|org}... [flags]

Name of the codespace
Filter codespace selection by repository name (user/repo)
Filter codespace selection by repository owner (username or org)

gh codespace ports visibility 80:org 3000:private 8000:public

gh-codespace-ports(1)

Apr 2024