返回探索

用 Jev 构建 CLI 子命令纠错工具

作者使用 Jev 创建了一个 CLI 工具包装器,当用户输错子命令时提供语义化的“Did you mean?”建议,例如将 git record 纠正为 git commit。

I created a CLI tool wrapper using Jev that semantically provides "Did you mean?" suggestions when you mistype a subcommand name. For example, if you type `git record`, it suggests `git commit`, and for `npm add`, it suggests `npm install`. syumai/jevyoumean

· 33 次赞在 X 打开