hive-forge: pr request-review verb — set/withdraw requested reviewers (closes #2153)

This commit is contained in:
damocles 2026-07-02 20:28:55 +02:00 committed by mara
commit a97d159009
5 changed files with 51 additions and 0 deletions

View file

@ -135,6 +135,9 @@ enum Verb {
/// `--request-changes` / `--comment` (with `-m` for the body).
#[command(hide = true)]
PrReviews(verbs::pr_reviews::Args),
/// Request (or withdraw with `--remove`) a review from a user on a PR.
#[command(hide = true)]
PrRequestReview(verbs::pr_request_review::Args),
/// List branches, optionally filtered.
Branches(verbs::branches::Args),
/// Print the tree SHA at a branch or commit.
@ -200,6 +203,7 @@ fn main() -> Result<()> {
Verb::Milestone(a) => verbs::milestone::run(&client, a),
Verb::PrMerge(a) => verbs::pr_merge::run(&client, a),
Verb::PrReviews(a) => verbs::pr_reviews::run(&client, a),
Verb::PrRequestReview(a) => verbs::pr_request_review::run(&client, a),
Verb::Branches(a) => verbs::branches::run(&client, a),
Verb::TreeSha(a) => verbs::tree_sha::run(&client, a),
Verb::Diff(a) => verbs::diff::run(&client, a),