hive-forge: list verb — filter issues/PRs by kind/state/assignee/author/label (#694 part 2)
This commit is contained in:
parent
4ab4d99340
commit
8f9c77df06
5 changed files with 223 additions and 2 deletions
|
|
@ -75,6 +75,10 @@ enum Verb {
|
|||
Labels(verbs::labels::Args),
|
||||
/// Triage lint queries (unassigned / no-reviewer / stale-branches / assignments).
|
||||
Lint(verbs::lint::Args),
|
||||
/// List issues / PRs with filters (`--kind`, `--state`, `--assignee`,
|
||||
/// `--author`, `--label`, `--limit`). Pretty rows by default; pass
|
||||
/// `--json` for raw JSON.
|
||||
List(verbs::list::Args),
|
||||
/// Manage milestones (list / create / close).
|
||||
Milestone(verbs::milestone::Args),
|
||||
/// List reviews on a PR.
|
||||
|
|
@ -112,6 +116,7 @@ fn main() -> Result<()> {
|
|||
Verb::Close(a) => verbs::close::run(&client, a),
|
||||
Verb::Labels(a) => verbs::labels::run(&client, a),
|
||||
Verb::Lint(a) => verbs::lint::run(&client, a),
|
||||
Verb::List(a) => verbs::list::run(&client, a),
|
||||
Verb::Milestone(a) => verbs::milestone::run(&client, a),
|
||||
Verb::PrReviews(a) => verbs::pr_reviews::run(&client, a),
|
||||
Verb::Branches(a) => verbs::branches::run(&client, a),
|
||||
|
|
|
|||
Loading…
Reference in a new issue