This uses the GitHub hub cli tool to query the GitHub GraphQL API and fetch a user's closed PRs over a given period of time.
The example above fetches for the entire year of 2024, going month-by-month in order to avoid limits. If the author has
more than 100 closed PRs in a month the period will need to be adjusted.
You can adjust the for month ... range in the loop, as well as the firstday and lastday variables to your needs if
you would like to fetch a different range.
The results are piped to jquery and output to stdout in jsonl format. This can be redirected to another command for further