1.0 KiB
1.0 KiB
Pull request review comment management shortcuts
This change adds first-class shortcuts for GitLink pull request review comment
threads. It complements pr +review, which creates an overall review decision,
with commands for line-level and threaded discussion records.
pr +review-commentslists review comments with keyword, review ID, need-response, state, parent, path, full-thread, and sorting filters.pr +review-commentcreates review comments or replies and supportscomment/problemtypes, review IDs, line codes, commit IDs, paths, parent IDs, raw diff JSON, and dry-run previews.pr +review-comment-updateedits the note, commit, or state (opened,resolved,disabled) with dry-run support.pr +review-comment-deletedeletes a review comment by ID.
The implementation validates numeric IDs, boolean filters, comment type, state, and diff JSON before sending API requests.
Verification:
go test ./shortcuts/prgo test ./shortcutsgo test ./...go build ./...git diff --check