close-pulls

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Close / Reopen Pull Requests

关闭/重新打开 Pull Requests

Close

关闭

bash
tea pulls close 15         # close without merging
bash
tea pulls close 15         # close without merging

Reopen

重新打开

bash
tea pulls reopen 15
bash
tea pulls reopen 15

Bulk Close Stale PRs

批量关闭陈旧 PR

bash
tea pulls list --state open --output json | \
  jq -r '.[] | select(.updated | fromdateiso8601 < (now - 90*86400)) | .index' | \
  xargs tea pulls close
bash
tea pulls list --state open --output json | \
  jq -r '.[] | select(.updated | fromdateiso8601 < (now - 90*86400)) | .index' | \
  xargs tea pulls close