Skip to content

Instantly share code, notes, and snippets.

View gwbischof's full-sized avatar
🧐
Learning

Garrett Bischof gwbischof

🧐
Learning
View GitHub Profile
@gwbischof
gwbischof / github_user_comments_and_context.sh
Created June 25, 2025 21:10
Get all comments for a user on GH along with the context
#!/bin/bash
if [ $# -eq 0 ]; then
echo "Usage: $0 <username>"
echo "Example: $0 octocat"
exit 1
fi
USERNAME="$1"
OUTPUT_FILE="${USERNAME}_comments.json"