list-pulls
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseList Pull Requests
Pull Request 列表
List
列表查询
bash
tea pulls list -o simple # open PRs, compact output (recommended)
tea pulls list --state all -o simple # include closed/merged
tea pulls list --output json # use json only when parsing with jq
tea pulls list --fields "index,title,state,author,base,head,labels"bash
tea pulls list -o simple # open PRs, compact output (recommended)
tea pulls list --state all -o simple # include closed/merged
tea pulls list --output json # use json only when parsing with jq
tea pulls list --fields "index,title,state,author,base,head,labels"Show
详情查看
bash
tea pulls 15 # detail view
tea pulls 15 --comments # with commentsbash
tea pulls 15 # detail view
tea pulls 15 --comments # with commentsFind PRs Needing Review
查找待审核 PR
bash
tea pulls list --output json | \
jq '.[] | select(.labels | map(.name) | index("needs-review")) | {index, title, author: .poster.login}'bash
tea pulls list --output json | \
jq '.[] | select(.labels | map(.name) | index("needs-review")) | {index, title, author: .poster.login}'Forks and Upstream PRs
Fork 与上游 PR
See pull-request-forks.
参见 pull-request-forks。
Tips
使用技巧
- Prefer for listing; use
-o simpleonly when parsing with--output jsonjq - searches PRs with all issue filters (labels, milestones, etc.)
tea issues list --kind pulls
- 列表查询时优先使用 ;仅在使用
-o simple解析结果时才使用jq--output json - 可使用所有 issue 筛选条件(标签、里程碑等)搜索 PR
tea issues list --kind pulls