fix(cli): hide the retired --inspector-port flag from relkit dev --help

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

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

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

调研方向

从 packages/cli/src/commands/dev-inspector.ts 开始,然后查找仓库中提到的帮助快照和生成的 CLI 参考文档。检查当前 relkit dev --help 的输出以及现有的 --inspector-port 处理逻辑。完成标准是帮助中不再出现该 flag,并且使用 --inspector-port 1 调用命令时仍会打印弃用消息。

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

描述

bug good first issue

relkit dev --help still lists --inspector-port integer Retired; configure inspector.connection.port, or run relkit inspector --port. A retired flag adds noise to the help of
a command people read first.

What to do

  • Stop listing the flag in the help output of relkit dev but keep rejecting it with the existing
    message (see packages/cli/src/commands/dev-inspector.ts).
  • Update the help snapshot and the generated CLI reference.

Done when relkit dev --help no longer shows the flag and relkit dev --inspector-port 1 still
prints the retirement message.

主要语言
TypeScript
星标
1
派生
0
平均合并
2 小时 45 分钟
30 天内合并 PR
64

环境准备

从这里开始

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

rel-kit/relkit 的其他 Issue

查看 rel-kit/relkit 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

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