Documentation
¶
Overview ¶
pr-reply posts a threaded reply to a PR review comment — the review-conversation seam.
Replying by hand is a raw `gh api` call whose body must first become valid JSON, and quoting markdown inline breaks (a stray backtick, a newline, a bare `true` that gh coerces to a boolean). This reads the body from a file — or stdin — and marshals it, so any markdown survives intact. gh fills in {owner}/{repo} from the checkout's remote.
Usage: pr-reply <pr> <comment-id> <body-file> ("-" reads stdin)
<comment-id> is the review comment's numeric id; replying to any comment in a thread threads the reply correctly.
The POST is attempted exactly once, never retried: a retry after a dropped connection could double-post a reply that had in fact landed.
Click to show internal directories.
Click to hide internal directories.