discoveryctl: help text and diagnostics name a discovery serve command that does not exist
维护者通常 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 内容生成。
描述
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:
- crates/registry-discoveryctl/src/lib.rs:74
- crates/registry-discoveryctl/src/project.rs:788 and :880
- crates/registry-discoveryctl/src/schema.rs:7
- crates/registry-discoveryctl/src/index.rs:7 and :29
- crates/registry-discovery/src/runtime_config.rs:186
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
环境准备
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
registrystack/registry-stack 的其他 Issue
-
area:breg bug
难度 2/5 1-3 小时 新手友好度 74/100
registrystack/registry-stack#2307 ·
维护者通常 1 天内回复
-
area:breg area:docs documentation
难度 2/5 1-3 小时 新手友好度 82/100
registrystack/registry-stack#2302 ·
维护者通常 1 天内回复
-
area:docs documentation
难度 2/5 1-3 小时 新手友好度 76/100
registrystack/registry-stack#2253 ·
维护者通常 1 天内回复
-
area:coordinator bug
难度 2/5 1-3 小时 新手友好度 82/100
registrystack/registry-stack#2252 ·
维护者通常 1 天内回复
-
area:release bug
难度 2/5 1-3 小时 新手友好度 74/100
registrystack/registry-stack#2248 ·
维护者通常 1 天内回复
查看 registrystack/registry-stack 的全部 Issue
相似的 Issue
-
难度 1/5 1-3 小时 新手友好度 86/100
维护者通常 1 天内回复
-
area:sim good first issue kind:feature
难度 2/5 1-3 小时 新手友好度 87/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 66/100
bitcoindevkit/bdk#2432 ·
维护者通常 3 天内回复
-
bug ui
难度 2/5 1-3 小时 新手友好度 83/100
userFRM/egui-charts#670 ·
维护者通常 1 天内回复
-
docs good first issue
难度 1/5 1-3 小时 新手友好度 84/100
Usenova-Labs/usenova-backend#35 ·
维护者通常 1 天内回复