fuzz-gh-pr-list (219B)
1 2 #!/usr/bin/env bash 3 4 prs() { 5 if [ -z "$1" ]; then 6 gh pr list 7 else 8 gh pr list --search "$@" 9 fi 10 } 11 12 res=$(prs "$@" | fuzzer) 13 id=$(<<<"$res" cutt -f1) 14 desc=$(<<<"$res" cutt -f2) 15 echo gh pr view --comments "$id" \# $desc