oldwinter / oldwinter/all-cli

体验:all-cli aws current 没有 profile/region 时 stdout 为空

Open Beginner friendly
#74 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

User path

README 把 all-cli aws current 写成看当前 profile / region / output 的入口。未配置 AWS CLI、或 AWS_PROFILE 未设且 configure get 失败时,人会直接跑这条命令。

Friction

人读输出只打印非空的 profile / region / output。三项都空时 stdout 完全空白,退出码仍是 0。不说去 all-cli aws list 看 profile,也不说去 all-cli aws status 看是否安装。JSON 仍给空 current 对象,脚本路径可以保持。

Suggested change

人读模式在三项都空时打印下一步:all-cli aws listall-cli aws status。不要改 JSON 契约。

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 at the all-cli aws current entry point and trace the human-readable output path when profile, region, and output are all empty. Confirm the existing JSON current object remains unchanged, then verify that the empty human-readable case points users to all-cli aws list and all-cli aws status.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.