Skip to content

Instantly share code, notes, and snippets.

@teshanshanuka
Created September 17, 2023 09:39
Show Gist options
  • Save teshanshanuka/baeb4633611c7521782bb1af8131ed65 to your computer and use it in GitHub Desktop.
Save teshanshanuka/baeb4633611c7521782bb1af8131ed65 to your computer and use it in GitHub Desktop.
GitHub CLI helpers
# List PRs you are requested to review
gh search prs --review-requested=@me --json url,state | jq -r '.[] | "\(.state)\t\(.url)"' | sed -E 's/open/\x1B[32m&\x1B[0m/g; s/merged/\x1B[35m&\x1B[0m/g'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment