hivectl: the open verb is gone and the docs say what hivectl has
This commit is contained in:
parent
e9025823d9
commit
06b303aff2
1 changed files with 7 additions and 139 deletions
|
|
@ -126,15 +126,6 @@ pub enum Cmd {
|
|||
#[arg(long)]
|
||||
graceful: bool,
|
||||
},
|
||||
/// Print (and best-effort open in a browser) a hive web surface URL.
|
||||
///
|
||||
/// Resolves the URL from the running daemon so custom forge / matrix
|
||||
/// domains work. Bare `hivectl open` opens the operator dashboard.
|
||||
Open {
|
||||
/// Which surface to open. Defaults to the operator dashboard.
|
||||
#[arg(value_enum, default_value_t = OpenTarget::Home)]
|
||||
target: OpenTarget,
|
||||
},
|
||||
/// Emit the full CLI reference as `CommonMark` to stdout.
|
||||
///
|
||||
/// Hidden tooling command used by the docs build to keep the published
|
||||
|
|
@ -153,17 +144,6 @@ pub enum Cmd {
|
|||
},
|
||||
}
|
||||
|
||||
/// Which hive web surface `hivectl open` targets.
|
||||
#[derive(Copy, Clone, Debug, clap::ValueEnum)]
|
||||
pub enum OpenTarget {
|
||||
/// The operator dashboard (`https://<hive>.hives.<swarm domain>/`).
|
||||
Home,
|
||||
/// The forge (Forgejo) web UI.
|
||||
Forge,
|
||||
/// The matrix GUI (fluffychat).
|
||||
Matrix,
|
||||
}
|
||||
|
||||
/// Shared scope flags for `hivectl stop` / `start` / `restart`. With no
|
||||
/// flag set the verb targets **everything** (all sub-agents + the
|
||||
/// gateway). Setting any flag restricts to the selected classes,
|
||||
|
|
|
|||
Loading…
Reference in a new issue