From c64136d09493cae871f86c93517a850c9b5300f1 Mon Sep 17 00:00:00 2001 From: atlas Date: Thu, 23 Jul 2026 21:52:33 +0200 Subject: [PATCH] docs(#2671): trim hive-forge top-level + global-option help Drop implementation mechanics from the `--help` surface, keep only what a user needs to run the command: - global `-r`/`-f`/`--json`: remove token-file paths, the bash-helper history, and the "already-JSON verbs ignore --json" aside. - verb `about` strings (repo-create/repo-labels/repo-search/artifact-get/ ci-log/ci-rerun/pr-commits): drop which-API / "no REST endpoint" / web-route / workflow-dispatch internals and cross-refs. Per-verb arg help (verbs/*.rs) trimmed in follow-up commits. --- hive-forge/src/main.rs | 52 +++++++++++++----------------------------- 1 file changed, 16 insertions(+), 36 deletions(-) diff --git a/hive-forge/src/main.rs b/hive-forge/src/main.rs index 6e8c07d4..3aad7deb 100644 --- a/hive-forge/src/main.rs +++ b/hive-forge/src/main.rs @@ -36,24 +36,17 @@ use clap::{Parser, Subcommand}; disable_help_subcommand = true )] struct Cli { - /// Repo override (default from `HIVE_FORGE_REPO`). - /// Applies to any verb; replaces the per-verb `[repo]` trailing - /// positional the bash helper used. + /// Repo to act on, as `owner/name` (default: `HIVE_FORGE_REPO`). + /// Works with any verb. #[arg(short = 'r', long, global = true)] repo: Option, - /// Target an external forge account provisioned via the dashboard's - /// FORGES tab, by label, instead of the internal forge. Reads - /// `${HYPERHIVE_STATE_DIR}/forge-