hive-forge: post inline review comments with pr reviews --at, number diff lines with pr diff --numbered
This commit is contained in:
parent
c85233efd4
commit
eda7120f08
1 changed files with 224 additions and 9 deletions
|
|
@ -609,6 +609,7 @@ List a PR's reviews, or submit one
|
|||
* `--request-changes` — Request changes on the PR (submit a `REQUEST_CHANGES` review)
|
||||
* `--comment` — Leave a comment review (submit a COMMENT review)
|
||||
* `-m`, `--body <BODY>` — Optional body / message for the review (used with --approve, --request-changes, or --comment)
|
||||
* `--at <PATH:LINE>` — An inline comment on a line of the new file: `--at path:LINE "text"`. Repeat it to put several comments in the same review. LINE is the new-file line number, which `pr diff --numbered` prints. Needs --approve, --request-changes or --comment
|
||||
* `--only <ONLY>` — When listing: narrow the inline comments shown (and leave out the reviews with none left). `unresolved` keeps every comment nobody has resolved yet: what a re-review has to check
|
||||
|
||||
Possible values:
|
||||
|
|
@ -666,6 +667,7 @@ Print the PR's unified diff
|
|||
###### **Options:**
|
||||
|
||||
* `--full` — Print the unfiltered diff. By default, hive-forge collapses autogenerated-file hunks (`flake.lock`, `Cargo.lock`, …) to a placeholder so human-authored changes stay readable
|
||||
* `--numbered` — Prefix every added or unchanged line with its new-file line number, the number `pr reviews --at path:LINE` takes. Removed lines get no number: an inline comment sits on the new file
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue