Scroll to navigation

GH-PROJECT-CLOSE(1) GitHub CLI manual GH-PROJECT-CLOSE(1)

NAME

gh-project-close - Close a project

SYNOPSIS

gh project close [<number>] [flags]

OPTIONS

Output format: {json}

Filter JSON output using a jq expression

Login of the owner. Use "@me" for the current user.

Format JSON output using a Go template; see "gh help formatting"

Reopen a closed project

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

# close project "1" owned by monalisa
gh project close 1 --owner monalisa
# reopen closed project "1" owned by github
gh project close 1 --owner github --undo

SEE ALSO

gh-project(1)

Nov 2024 GitHub CLI v2.62.0