From e6f9679ec9a812c3cd8d2285109184a721bacb8d Mon Sep 17 00:00:00 2001 From: atlas Date: Mon, 15 Jun 2026 23:41:56 +0200 Subject: [PATCH] hive-forge: add issues/issue-list discovery aliases for the list verb MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The verb that lists issues/PRs with filters is `list`, but `issues` and `issue-list` are the names people reach for first — and clap's "did you mean" tip points at `issue` / `issue-create`, never at `list`. Two agents independently failed to find it that way. Add `issues` and `issue-list` as visible clap aliases so the verb is discoverable under the names people actually type (and they show in `--help`). No behaviour change; `list` stays canonical. --- hive-forge/src/main.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hive-forge/src/main.rs b/hive-forge/src/main.rs index 0ff55cb6..3a1e3665 100644 --- a/hive-forge/src/main.rs +++ b/hive-forge/src/main.rs @@ -92,6 +92,11 @@ enum Verb { /// List issues / PRs with filters (`--kind`, `--state`, `--assignee`, /// `--author`, `--label`, `--limit`). Pretty rows by default; pass /// `--json` for raw JSON. + // Discovery aliases: the verb is `list`, but `issues` / `issue-list` + // are the names people reach for first (and clap's "did you mean" + // tip points at `issue` / `issue-create`, not here). Visible so they + // show in `--help`. + #[command(visible_alias = "issues", visible_alias = "issue-list")] List(verbs::list::Args), /// Manage milestones (list / create / close). Milestone(verbs::milestone::Args),