oldwinter / oldwinter/all-cli

体验:all-cli mise current 没有 runtime 时 stdout 为空

Open Beginner friendly
#76 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 mise current 写成看已解析 runtime 版本的入口。没装 mise、或当前目录没有 pinned tool 时,人会直接跑这条命令。

Friction

人读输出按 key 打印 tool: versionmise current 失败或 stdout 没有 tool/version 行时,current map 为空,命令 stdout 完全空白,退出码仍是 0。错误只在 stderr。不说去 all-cli mise status 看是否安装。JSON 仍给空 current,脚本路径可以保持。

Suggested change

人读模式在没有任何 runtime 行时打印下一步:all-cli mise 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 with the README entry for all-cli mise current and find its human-readable output path. When no runtime tool/version rows are available, the output should point users to all-cli mise status; verify that JSON still returns an empty current map and the command keeps exit code 0.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Feature
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.