Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

discoveryctl: help text and diagnostics name a discovery serve command that does not exist

已关闭 适合新手
#2,221 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

已经有一个关联 PR 被合并了。

  • #2237 来自 @jeremi —— 已合并

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
83/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
rust
领域
cli, documentation

调研方向

阅读 crates/registry-discoveryctl 和 crates/registry-discovery/src/runtime_config.rs 中列出的六处位置,然后查找 discovery 二进制文件定义的命令。更新帮助文本和诊断信息,使其指明该命令,并重新生成 CLI 目录。修正过时的 discovery serve 引用,且目录反映更新后的帮助信息后,即为完成。

由索引模型根据 Issue 内容生成。

描述

area:discovery bug criticality:p2

discoveryctl check --help and several diagnostics tell the adopter that a file is checked "as discovery serve parses it". The discovery binary has no serve subcommand; it runs as discovery with its runtime file. An adopter who types the command from the help text gets an unknown-subcommand error.

Six locations carry the phrase:

Ask: name the command the binary actually has, and regenerate the CLI catalogue.

Found while writing the remaining-products docs (#2208).

主要语言
Rust
星标
2
派生
0
平均合并
9 小时 19 分钟
30 天内合并 PR
275

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

registrystack/registry-stack 的其他 Issue

查看 registrystack/registry-stack 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。