gh-codespace-ports-visibility - Man Page

Change the visibility of the forwarded port

Synopsis

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

Options Inherited from Parent Commands

-c, --codespace <string>

Name of the codespace

-R, --repo <string>

Filter codespace selection by repository name (user/repo)

--repo-owner <string>

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)

Referenced By

gh-codespace-ports(1).

Dec 2024 GitHub CLI manual