gh issue list
列出,并筛选此存储库中的问题
gh issue list [flags]
Options
-a,--assignee <string>- Filter by assignee
-A,--author <string>- Filter by author
-q,--jq <expression>- jq 表达式,过滤 JSON 输出
--json <fields>- JSON 输出特殊字段
-l,--label <strings>- Filter by labels
-L,--limit <int>- Maximum number of issues to fetch
--mention <string>- Filter by mention
-m,--milestone <number>- Filter by milestone number or `title`
-S,--search <query>- Search issues with query
-s,--state <string>- Filter by state: {open|closed|all}
-t,--template <string>- 模板化输出
-w,--web- 浏览器打开,列出 issue(s)
Options inherited from parent commands
-R,--repo <[HOST/]OWNER/REPO>- 使用 [HOST/]OWNER/REPO 格式,选择另一存储库
Examples
$ gh issue list -l "bug" -l "help wanted"
$ gh issue list -A monalisa
$ gh issue list -a "@me"
$ gh issue list --web
$ gh issue list --milestone "The big 1.0"
$ gh issue list --search "error no:assignee sort:created-asc"
”