返回命令列表

Linux command

gh-project 命令

文本

Copy it and replace filenames, paths, or keywords as needed.

命令示例

List projects

gh project list

View a project

gh project view [number]

Create a project

gh project create --title "[title]"

Add item to project

gh project item-add [number] --url [issue_url]

Delete a project

gh project delete [number]

说明

gh project manages GitHub Projects (project boards) from the command line. It enables organizing and tracking work with customizable views, fields, and automation. Projects can contain issues, pull requests, and draft items organized into boards with custom columns and filters. The command provides full lifecycle management from creation through closure.

参数

--owner _owner_
Owner of the project (user or organization).
--title _title_
Project title.
--url _url_
Issue or PR URL to add.
--format _format_
Output format (e.g. json).
-q, --jq _expression_
Filter JSON output with a jq expression.

FAQ

What is the gh-project command used for?

gh project manages GitHub Projects (project boards) from the command line. It enables organizing and tracking work with customizable views, fields, and automation. Projects can contain issues, pull requests, and draft items organized into boards with custom columns and filters. The command provides full lifecycle management from creation through closure.

How do I run a basic gh-project example?

Run `gh project list` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --owner _owner_ do in gh-project?

Owner of the project (user or organization).