I built an offline shell-command explainer that hands you a shareable card
说明与用途
cmdxray 是一个离线工具,能够解释复杂的 shell 命令,并生成自包含的 SVG/HTML 卡片,方便在 PR 评论、运行手册和演示文稿中共享。
问题
Team members and incident responders often forget or misinterpret complex shell commands, and online tools like explainshell.com expose sensitive data and require network access.
结果
cmdxray provides accurate, version‑specific explanations of shell commands locally, producing shareable cards that keep sensitive data private and integrate easily into documentation workflows.
工作流
- 1. Install cmdxray via npx or from the repo.
- 2. Run
npx cmdxray <your command>to get a plain‑text explanation. - 3. Add
--svgor--htmlto emit a shareable card. - 4. Include the generated card in PR comments, runbooks, or slides.
证据
It runs locally. Your commands never leave the machine.
For anything it doesn't have curated, it reads the summary from your machine's own man pages
- 记录日期: 2026-09-10T06:30:28.567Z