feat(hive-forge): repo-search verb — keyword/topic search across forge repos

This commit is contained in:
atlas 2026-07-10 15:14:48 +02:00 committed by mara
commit 327a3bc3bc
3 changed files with 91 additions and 0 deletions

View file

@ -113,6 +113,10 @@ enum Verb {
/// the valid names + descriptions for triage / labelling. `--json`
/// emits the full label objects (id, name, color, description).
RepoLabels(verbs::repo_labels::Args),
/// Search for repositories on the forge instance by keyword, topic, or
/// description. Not repo-scoped — queries the instance-wide explore
/// endpoint. `--json` emits the full repository objects.
RepoSearch(verbs::repo_search::Args),
/// Triage lint queries (unassigned / no-reviewer / stale-branches / assignments).
Lint(verbs::lint::Args),
/// List issues / PRs with filters (`--kind`, `--state`, `--assignee`,
@ -198,6 +202,7 @@ fn main() -> Result<()> {
Verb::RepoCreate(a) => verbs::repo_create::run(&client, a),
Verb::RepoAddCollaborator(a) => verbs::repo_add_collaborator::run(&client, a),
Verb::RepoLabels(a) => verbs::repo_labels::run(&client, a),
Verb::RepoSearch(a) => verbs::repo_search::run(&client, a),
Verb::Lint(a) => verbs::lint::run(&client, a),
Verb::List(a) => verbs::list::run(&client, a),
Verb::Milestone(a) => verbs::milestone::run(&client, a),