hive-forge: pr request-review verb — set/withdraw requested reviewers (closes #2153)
This commit is contained in:
parent
2f43077e31
commit
a97d159009
5 changed files with 51 additions and 0 deletions
|
|
@ -32,6 +32,8 @@ enum Cmd {
|
|||
Merge(verbs::pr_merge::Args),
|
||||
/// List a PR's reviews, or submit one.
|
||||
Reviews(verbs::pr_reviews::Args),
|
||||
/// Request (or withdraw) a review from a user.
|
||||
RequestReview(verbs::pr_request_review::Args),
|
||||
/// Print the PR's unified diff.
|
||||
Diff(verbs::diff::Args),
|
||||
/// Show title + body + comments.
|
||||
|
|
@ -61,6 +63,7 @@ pub fn run(client: &Client, args: Args) -> Result<()> {
|
|||
Cmd::Status(a) => verbs::pr_status::run(client, a),
|
||||
Cmd::Merge(a) => verbs::pr_merge::run(client, a),
|
||||
Cmd::Reviews(a) => verbs::pr_reviews::run(client, a),
|
||||
Cmd::RequestReview(a) => verbs::pr_request_review::run(client, a),
|
||||
Cmd::Diff(a) => verbs::diff::run(client, a),
|
||||
// Generics shared with `issue` — verify the number is a PR first.
|
||||
Cmd::View(a) => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue