体验:glab/argocd use 缺参只报 accepts 1 arg,不说 list
Open
Beginner friendly
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 1
- Forks
- 0
- Avg merge
- 7d 23h
- Merged PRs (30d)
- 24
Description
用户路径
all-cli glab use
all-cli argocd use
Cobra 默认报 accepts 1 arg(s), received 0。kubectl use / docker use 已经改成说明性错误并指向 list(#61)。glab / argocd 漏了。
本轮不碰已有 issue:#54–#63。也不改正在改的 catalog / kubectl.go。
摩擦点
切 host/context 缺参时人不知道先 list。
建议改动
glab use缺参指向all-cli glab list。argocd use缺参指向all-cli argocd list。
不在范围内
- 不改 kubectl/docker use(#61)。
- 不 push、不开 PR、不 merge。
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the glab use and argocd use command entry points, then compare their missing-argument handling with the already updated kubectl use and docker use behavior. Make each command direct users to its corresponding list command, and verify both commands no longer show Cobra's generic argument error.
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
- 84/100