oldwinter / oldwinter/all-cli

设计:all-cli options 漏掉继承的 --no-progress

Open Beginner friendly
#55 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
1
Forks
0
Avg merge
7d 23h
Merged PRs (30d)
24

Description

设计:all-cli options 漏掉继承的 --no-progress

不重复 #54(doctor vs diagnose 帮助区分)。

用户路径
  1. all-cli --help 声明全局 flag:--json--no-progress--timeout
  2. Long 还写 ALL_CLI_NO_PROGRESS / --no-progress
  3. 用户按 kubectl 习惯跑 all-cli options,期望看到子命令继承的全部 persistent flags。
  4. 原先只打印 json=timeout=;JSON 对象也没有 no_progress--no-progress 在帮助里是一等全局选项,在 options 输出里消失。
建议改动

options 的文本和 JSON 都列出 --json--no-progress--timeout;Long / Example 写明这三项。

本地 clone 已按此改了一版(未 push / 未开 PR)。

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the all-cli options command and compare its text and JSON output with all-cli --help and the documented Long/Example output. Done means options lists --json, --no-progress, and --timeout consistently in both formats, with the inherited flag represented as no_progress in JSON.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
75/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.