gh-project - Man Page

Work with GitHub Projects.

Synopsis

gh project <command> [flags]

Description

Work with GitHub Projects. Note that the token you are using must have 'project' scope, which is not set by default. You can verify your token scope by running 'gh auth status' and add the project scope by running 'gh auth refresh -s project'.

Available Commands

gh-project-close(1)

Close a project

gh-project-copy(1)

Copy a project

gh-project-create(1)

Create a project

gh-project-delete(1)

Delete a project

gh-project-edit(1)

Edit a project

gh-project-field-create(1)

Create a field in a project

gh-project-field-delete(1)

Delete a field in a project

gh-project-field-list(1)

List the fields in a project

gh-project-item-add(1)

Add a pull request or an issue to a project

gh-project-item-archive(1)

Archive an item in a project

gh-project-item-create(1)

Create a draft issue item in a project

gh-project-item-delete(1)

Delete an item from a project by ID

gh-project-item-edit(1)

Edit an item in a project

gh-project-item-list(1)

List the items in a project

gh-project-link(1)

Link a project to a repository or a team

gh-project-list(1)

List the projects for an owner

gh-project-mark-template(1)

Mark a project as a template

gh-project-unlink(1)

Unlink a project from a repository or a team

gh-project-view(1)

View a project

Example

$ gh project create --owner monalisa --title "Roadmap"
$ gh project view 1 --owner cli --web
$ gh project field-list 1 --owner cli
$ gh project item-list 1 --owner cli

See Also

gh(1)

Referenced By

gh(1), gh-project-close(1), gh-project-copy(1), gh-project-create(1), gh-project-delete(1), gh-project-edit(1), gh-project-field-create(1), gh-project-field-delete(1), gh-project-field-list(1), gh-project-item-add(1), gh-project-item-archive(1), gh-project-item-create(1), gh-project-item-delete(1), gh-project-item-edit(1), gh-project-item-list(1), gh-project-link(1), gh-project-list(1), gh-project-mark-template(1), gh-project-unlink(1), gh-project-view(1).

Jul 2024 GitHub CLI manual