hive-forge: add issues/issue-list discovery aliases for the list verb

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.
This commit is contained in:
atlas 2026-06-15 23:41:56 +02:00 committed by mara
commit e6f9679ec9

View file

@ -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),