macOS
brew install yhlocal Homebrew formula metadata
安装
brew install yhlocal Homebrew formula metadata
概览
YAML syntax highlighter to bring colours where only jq could
历史
yh is a small Go command-line YAML highlighter aimed at colorizing YAML streams, especially kubectl output.
The README gives a precise origin story: the author wanted color while working with Kubernetes YAML output, did not find a simple dump-and-highlight tool, and wrote one from scratch after recent Go training. The repository was created in April 2020 and published a quick run of 0.x releases through October 2020.
yh's adoption is narrow but clear: it targets Kubernetes users who pipe kubectl get ... -o yaml into a jq-like highlighter. The README documents brew install yh and downloadable release binaries for Linux, macOS, and Windows.
The canonical usage is kubectl get pod alpine -o yaml | yh. The binary also exposes help and version subcommands.
yh is an example of a packageable single-purpose CLI: one binary, stdin-to-stdout behavior, no configuration, and a memorable niche adjacent to jq and kubectl.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
yh | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:yh |
|---|---|
| 版本 | 0.4.0 |
| 软件包管理器 | Homebrew |
| 主页 | https://github.com/andreazorzetto/yh |
| 仓库 | https://github.com/andreazorzetto/yh |
| Bottle | 未记录 |
| 服务 | 未声明 |
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.