1週間のうち merge した PR 一覧
code:list.sh
gh search prs \
--author tkdn --closed '>'$(date -v -7d +%Y-%m-%d) \
--json repository,number,title,closedAt,url \
--jq '.[] | [
.repository.nameWithOwner,
.number,
(.closedAt | sub("Z$"; "") | strptime("%Y-%m-%dT%H:%M:%S") | mktime | . + (9*3600) | strftime("%Y-%m-%d %H:%M:%S")),
.title,
.url
] | @tsv'
これはmac
code:list.sh
gh search prs \
--author tkdn --closed '>'$(date -I -d '7 days ago') \
--json repository,number,title,closedAt,url \
--jq '.[] | [
.repository.nameWithOwner,
.number,
(.closedAt | sub("Z$"; "") | strptime("%Y-%m-%dT%H:%M:%S") | mktime | . + (9*3600) | strftime("%Y-%m-%d %H:%M:%S")),
.title,
.url
] | @tsv'