pr-reply

command
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 28, 2026 License: MIT Imports: 7 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL