Scroll to navigation

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

NAME

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

SYNOPSIS

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

OPTIONS INHERITED FROM PARENT COMMANDS

Name of the codespace

Filter codespace selection by repository name (user/repo)

Filter codespace selection by repository owner (username or org)

EXIT CODES

0: Successful execution

1: Error

2: Command canceled

4: Authentication required

NOTE: Specific commands may have additional exit codes. Refer to the command's help for more information.

EXAMPLE

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

SEE ALSO

gh-codespace-ports(1)

Nov 2024 GitHub CLI v2.62.0