yn
(yaml navigator) is a command-line utility tool crafted for exploration of extensive and multi-documented yaml data. It navigates and highlights the part of the data you are seeking, making it easier to traverse through large data in yaml format. It offers autocompletion and suggestions for field paths.
It is mainly designed to simplify the process of working with Kubernetes manifest yaml files.
go install github.com/semihbkgr/yn@latest
The data is supplied through stdin
.
$ cat data.yaml | yn
type the path to traverse .person.address.city
makes it easy to explore multi-doc outputs of helm templates.
$ helm template ingress-nginx ingress-nginx --repo https://kubernetes.github.io/ingress-nginx --namespace ingress-nginx | yn