spotube/gh_2.76.2_macOS_amd64/share/man/man1/gh-codespace-ports-visibility.1

51 lines
943 B
Groff

.nh
.TH "GH-CODESPACE-PORTS-VISIBILITY" "1" "Jul 2025" "GitHub CLI 2.76.2" "GitHub CLI manual"
.SH NAME
gh-codespace-ports-visibility - Change the visibility of the forwarded port
.SH SYNOPSIS
\fBgh codespace ports visibility <port>:{public|private|org}... [flags]\fR
.SH OPTIONS INHERITED FROM PARENT COMMANDS
.TP
\fB-c\fR, \fB--codespace\fR \fB<string>\fR
Name of the codespace
.TP
\fB-R\fR, \fB--repo\fR \fB<string>\fR
Filter codespace selection by repository name (user/repo)
.TP
\fB--repo-owner\fR \fB<string>\fR
Filter codespace selection by repository owner (username or org)
.SH EXIT CODES
0: Successful execution
.PP
1: Error
.PP
2: Command canceled
.PP
4: Authentication required
.PP
NOTE: Specific commands may have additional exit codes. Refer to the command's help for more information.
.SH EXAMPLE
.EX
$ gh codespace ports visibility 80:org 3000:private 8000:public
.EE
.SH SEE ALSO
\fBgh-codespace-ports(1)\fR