hive-forge, hivectl, swarmctl: fix clap help passive voice, regen docs

Rewrites every write-good.Passive hit in the hive-forge clap help text
into terse, imperative, active voice (meaning unchanged) and drops
clap-markdown's own fixed footer ('This document was generated
automatically by...') via MarkdownOptions::show_footer(false), since
that string isn't ours to reword and vale flagged it too.

docs/tools/{hivectl,swarmctl,forge}-cli.md are generated from each
crate's clap tree (see hive-forge/src/main.rs's MarkdownDocs verb) —
regenerated here from the fixed source, not hand-edited.

Refs #4549
This commit is contained in:
atlas 2026-09-20 05:38:30 +02:00 committed by mara
commit f0e3ed04d3
18 changed files with 87 additions and 89 deletions

View file

@ -143,7 +143,7 @@ Issue-scoped commands: `issue <show|create|edit|view|comment|comments|close|reop
* `reopen` — Reopen a closed issue
* `labels` — List / add / remove labels
* `assign` — Assign or unassign a user
* `dependency` — List / add / remove dependencies (issues this one is blocked by)
* `dependency` — List / add / remove dependencies (issues blocking this one)
* `reaction` — List / add / remove emoji reactions on the issue, or on one of its comments with `--comment <id>`
* `timeline` — List timeline events
@ -173,7 +173,7 @@ Create an issue
* `--body <BODY>` — Inline body text
* `--body-file <BODY_FILE>` — Read body from a file. `-` means stdin
* `--assignee <ASSIGNEE>` — Initial assignee login
* `--label <LABELS>` — Label name to attach, repeatable (for example `--label area/ops --label type/bug`). Same spelling `labels add` accepts. An unresolved name errors out (before the issue is created) rather than silently attaching fewer labels than asked for
* `--label <LABELS>` — Label name to attach, repeatable (for example `--label area/ops --label type/bug`). Same spelling `labels add` accepts. An unresolved name errors out (before creating the issue) rather than silently attaching fewer labels than asked for
@ -243,7 +243,7 @@ List comments on the issue
###### **Options:**
* `--limit <LIMIT>` — Number of comments from the start of the thread (oldest-first), or (with `--since`) the most this call returns — capped at [`crate::verbs::MAX_LIMIT`] in the latter case. An explicit opt-in: with neither this nor `--tail` given, the default is the newest 10 (see `--tail`). Mutually exclusive with `--tail`
* `--tail <TAIL>` — Return the last `N` comments (chronological) — the most recent activity. This is the default (`N` = 10) when neither `--limit` nor `--tail` is given. Mutually exclusive with `--limit`/`--since`
* `--tail <TAIL>` — Return the last `N` comments (chronological) — the most recent activity. Defaults to `N` = 10 when you pass neither `--limit` nor `--tail`. Mutually exclusive with `--limit`/`--since`
* `--since <SINCE>` — Only show comments at or after this RFC3339 timestamp (same format this verb's own output prints). Mutually exclusive with `--tail`
* `--show-reactions` — Fetch + display each shown comment's reaction summary. Costs one extra request per comment shown — opt-in, not the default
@ -281,7 +281,7 @@ List / add / remove labels
###### **Subcommands:**
* `list` — List labels (default when no action is given)
* `list` — List labels (default when you give no action)
* `add` — Add labels by name
* `remove` — Remove labels by name
@ -293,7 +293,7 @@ List / add / remove labels
## `hive-forge issue labels list`
List labels (default when no action is given)
List labels (default when you give no action)
**Usage:** `hive-forge issue labels list`
@ -342,14 +342,14 @@ Assign or unassign a user
## `hive-forge issue dependency`
List / add / remove dependencies (issues this one is blocked by)
List / add / remove dependencies (issues blocking this one)
**Usage:** `hive-forge issue dependency <NUMBER> [COMMAND]`
###### **Subcommands:**
* `list` — List dependencies (default when no action is given) — the issues/PRs this one is blocked by
* `add` — Add one or more issues/PRs this one is blocked by
* `list` — List dependencies (default when you give no action) — the issues/PRs blocking this one
* `add` — Add one or more issues/PRs that block this one
* `remove` — Remove one or more dependency links
###### **Arguments:**
@ -360,7 +360,7 @@ List / add / remove dependencies (issues this one is blocked by)
## `hive-forge issue dependency list`
List dependencies (default when no action is given) — the issues/PRs this one is blocked by
List dependencies (default when you give no action) — the issues/PRs blocking this one
**Usage:** `hive-forge issue dependency list`
@ -368,7 +368,7 @@ List dependencies (default when no action is given) — the issues/PRs this one
## `hive-forge issue dependency add`
Add one or more issues/PRs this one is blocked by
Add one or more issues/PRs that block this one
**Usage:** `hive-forge issue dependency add [DEPS]...`
@ -398,13 +398,13 @@ List / add / remove emoji reactions on the issue, or on one of its comments with
###### **Subcommands:**
* `list` — List reactions (default when no action is given)
* `list` — List reactions (default when you give no action)
* `add` — Add a reaction — a Forgejo shortcode, for example `+1`, `heart`, `rocket`
* `remove` — Remove your own reaction with this content
###### **Arguments:**
* `<NUMBER>` — Issue or PR number. Ignored (but still required) when `--list-allowed` is set
* `<NUMBER>` — Issue or PR number. Ignored (but still required) when you pass `--list-allowed`
###### **Options:**
@ -415,7 +415,7 @@ List / add / remove emoji reactions on the issue, or on one of its comments with
## `hive-forge issue reaction list`
List reactions (default when no action is given)
List reactions (default when you give no action)
**Usage:** `hive-forge issue reaction list`
@ -458,7 +458,7 @@ List timeline events
###### **Options:**
* `--limit <LIMIT>` — Return the first `N` events (oldest-first), or (with `--since`) the most this call returns — capped at [`crate::verbs::MAX_LIMIT`] in the latter case. An explicit opt-in: with neither this nor `--tail` given, the default is the newest 10 (see `--tail`). Mutually exclusive with `--tail`
* `--tail <TAIL>` — Return the last `N` events (chronological) — the most recent activity. This is the default (`N` = 10) when neither `--limit` nor `--tail` is given. Mutually exclusive with `--limit`/`--since`
* `--tail <TAIL>` — Return the last `N` events (chronological) — the most recent activity. Defaults to `N` = 10 when you pass neither `--limit` nor `--tail`. Mutually exclusive with `--limit`/`--since`
* `--since <SINCE>` — Only show events at or after this RFC3339 timestamp (same format this verb's own output prints) — pass back the last-seen row's `created_at` to fetch only what's new
@ -480,14 +480,14 @@ PR-scoped commands: `pr <show|status|create|merge|reviews|assign-reviewer|commit
* `assign-reviewer` — Request (or withdraw with `--remove`) a review from a user
* `diff` — Print the PR's unified diff
* `view` — Show title + body + comments
* `edit` — Edit the PR's title / body / state / milestone. Fields not passed are left unchanged
* `edit` — Edit the PR's title / body / state / milestone. Fields you don't pass keep their current value
* `comment` — Post a comment on the PR
* `comments` — List comments on the PR
* `close` — Close the PR
* `reopen` — Reopen a closed PR
* `labels` — List / add / remove labels
* `assign-committer` — Assign or unassign a user (the PR's assignee list)
* `dependency` — List / add / remove dependencies (issues/PRs this one is blocked by)
* `dependency` — List / add / remove dependencies (issues/PRs blocking this one)
* `reaction` — List / add / remove emoji reactions on the PR, or on one of its comments with `--comment <id>`
* `timeline` — List timeline events
@ -653,7 +653,7 @@ Show title + body + comments
## `hive-forge pr edit`
Edit the PR's title / body / state / milestone. Fields not passed are left unchanged
Edit the PR's title / body / state / milestone. Fields you don't pass keep their current value
**Usage:** `hive-forge pr edit [OPTIONS] <NUMBER>`
@ -705,7 +705,7 @@ List comments on the PR
###### **Options:**
* `--limit <LIMIT>` — Number of comments from the start of the thread (oldest-first), or (with `--since`) the most this call returns — capped at [`crate::verbs::MAX_LIMIT`] in the latter case. An explicit opt-in: with neither this nor `--tail` given, the default is the newest 10 (see `--tail`). Mutually exclusive with `--tail`
* `--tail <TAIL>` — Return the last `N` comments (chronological) — the most recent activity. This is the default (`N` = 10) when neither `--limit` nor `--tail` is given. Mutually exclusive with `--limit`/`--since`
* `--tail <TAIL>` — Return the last `N` comments (chronological) — the most recent activity. Defaults to `N` = 10 when you pass neither `--limit` nor `--tail`. Mutually exclusive with `--limit`/`--since`
* `--since <SINCE>` — Only show comments at or after this RFC3339 timestamp (same format this verb's own output prints). Mutually exclusive with `--tail`
* `--show-reactions` — Fetch + display each shown comment's reaction summary. Costs one extra request per comment shown — opt-in, not the default
@ -743,7 +743,7 @@ List / add / remove labels
###### **Subcommands:**
* `list` — List labels (default when no action is given)
* `list` — List labels (default when you give no action)
* `add` — Add labels by name
* `remove` — Remove labels by name
@ -755,7 +755,7 @@ List / add / remove labels
## `hive-forge pr labels list`
List labels (default when no action is given)
List labels (default when you give no action)
**Usage:** `hive-forge pr labels list`
@ -804,14 +804,14 @@ Assign or unassign a user (the PR's assignee list)
## `hive-forge pr dependency`
List / add / remove dependencies (issues/PRs this one is blocked by)
List / add / remove dependencies (issues/PRs blocking this one)
**Usage:** `hive-forge pr dependency <NUMBER> [COMMAND]`
###### **Subcommands:**
* `list` — List dependencies (default when no action is given) — the issues/PRs this one is blocked by
* `add` — Add one or more issues/PRs this one is blocked by
* `list` — List dependencies (default when you give no action) — the issues/PRs blocking this one
* `add` — Add one or more issues/PRs that block this one
* `remove` — Remove one or more dependency links
###### **Arguments:**
@ -822,7 +822,7 @@ List / add / remove dependencies (issues/PRs this one is blocked by)
## `hive-forge pr dependency list`
List dependencies (default when no action is given) — the issues/PRs this one is blocked by
List dependencies (default when you give no action) — the issues/PRs blocking this one
**Usage:** `hive-forge pr dependency list`
@ -830,7 +830,7 @@ List dependencies (default when no action is given) — the issues/PRs this one
## `hive-forge pr dependency add`
Add one or more issues/PRs this one is blocked by
Add one or more issues/PRs that block this one
**Usage:** `hive-forge pr dependency add [DEPS]...`
@ -860,13 +860,13 @@ List / add / remove emoji reactions on the PR, or on one of its comments with `-
###### **Subcommands:**
* `list` — List reactions (default when no action is given)
* `list` — List reactions (default when you give no action)
* `add` — Add a reaction — a Forgejo shortcode, for example `+1`, `heart`, `rocket`
* `remove` — Remove your own reaction with this content
###### **Arguments:**
* `<NUMBER>` — Issue or PR number. Ignored (but still required) when `--list-allowed` is set
* `<NUMBER>` — Issue or PR number. Ignored (but still required) when you pass `--list-allowed`
###### **Options:**
@ -877,7 +877,7 @@ List / add / remove emoji reactions on the PR, or on one of its comments with `-
## `hive-forge pr reaction list`
List reactions (default when no action is given)
List reactions (default when you give no action)
**Usage:** `hive-forge pr reaction list`
@ -920,7 +920,7 @@ List timeline events
###### **Options:**
* `--limit <LIMIT>` — Return the first `N` events (oldest-first), or (with `--since`) the most this call returns — capped at [`crate::verbs::MAX_LIMIT`] in the latter case. An explicit opt-in: with neither this nor `--tail` given, the default is the newest 10 (see `--tail`). Mutually exclusive with `--tail`
* `--tail <TAIL>` — Return the last `N` events (chronological) — the most recent activity. This is the default (`N` = 10) when neither `--limit` nor `--tail` is given. Mutually exclusive with `--limit`/`--since`
* `--tail <TAIL>` — Return the last `N` events (chronological) — the most recent activity. Defaults to `N` = 10 when you pass neither `--limit` nor `--tail`. Mutually exclusive with `--limit`/`--since`
* `--since <SINCE>` — Only show events at or after this RFC3339 timestamp (same format this verb's own output prints) — pass back the last-seen row's `created_at` to fetch only what's new
@ -979,7 +979,7 @@ Create a forge repo under the current user (or `--org`). Prints the repo URL
###### **Arguments:**
* `<NAME>` — Repository name (required). Created under the authenticated user unless `--org` is given
* `<NAME>` — Repository name (required). Creates it under the authenticated user unless you pass `--org`
###### **Options:**
@ -987,7 +987,7 @@ Create a forge repo under the current user (or `--org`). Prints the repo URL
* `--private` — Create the repo as private (default: public)
* `--default-branch <DEFAULT_BRANCH>` — Default branch name (for example `main`). Only takes effect with `--auto-init`
* `--org <ORG>` — Create under this organisation instead of your own namespace
* `--auto-init` — Seed an initial commit (README) so the repo is non-empty and can be cloned immediately. Omit to create a bare repo you push into
* `--auto-init` — Seed an initial commit (README) so you can clone the repo immediately instead of getting an empty one. Omit to create a bare repo you push into
@ -1040,7 +1040,7 @@ Search the forge for repositories by keyword, topic, or description
* `-q`, `--query <QUERY>` — Keyword to search for (matches repo name by default; combine with `--include-desc` to also match description text)
* `--topic` — Restrict matches to repositories that have the keyword as a **topic** tag rather than in the name
* `--include-desc` — Extend the keyword search to repository descriptions (in addition to names, or topics when `--topic` is set)
* `--include-desc` — Extend the keyword search to repository descriptions (in addition to names, or topics when you pass `--topic`)
* `--limit <LIMIT>` — Maximum number of results to return (default: 30)
Default value: `30`
@ -1398,9 +1398,3 @@ List CI Actions runs, newest first (`--workflow`, `--branch`, `--limit`, `--page
<hr/>
<small><i>
This document was generated automatically by
<a href="https://crates.io/crates/clap-markdown"><code>clap-markdown</code></a>.
</i></small>