Skip to content

Instantly share code, notes, and snippets.

@rwilcox
rwilcox / view_all_comments_for_pr.sh
Last active August 20, 2019 15:20
View all comments, even outdated ones, for a PR on Github
#!/opt/local/bin/zsh
# NOTE: requires ZSH for vered. If you're using another shell you'll need to set PULL_NUMBER, ORGANIZATION and REPO
# somehow yourself
# also depends on the jgrep gem (jgrep for "json grep"). jgrep respects object structure and lets
# me search for _links.html.href
GITHUB_USERNAME=rwilcox
GITHUB_PASSWORD=hahahahaha