yh

YAML syntax highlighter with colors, a jq alternative for YAML

brewmacoslinux
Try with needOr install directly
Source

About

YAML syntax highlighter to bring colours where only jq could

Commands

yh

Examples

Highlight a YAML file with colors$ yh config.yaml
Pipe YAML content to yh for syntax highlighting$ cat deployment.yaml | yh
Highlight YAML from stdin with color output$ kubectl get pods -o yaml | yh