Skip to content
/ yn Public

yaml navigator for interactively traversing through yaml structures

License

Notifications You must be signed in to change notification settings

semihbkgr/yn

Folders and files

NameName
Last commit message
Last commit date
Dec 12, 2023
Nov 18, 2023
Apr 23, 2024
Apr 23, 2024
Apr 20, 2024
Apr 23, 2024
Nov 30, 2023
Nov 16, 2023
Apr 23, 2024
Dec 4, 2023
Apr 23, 2024
Apr 23, 2024
Nov 15, 2023

Repository files navigation

yn

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.

terminal

Installation

go install github.com/semihbkgr/yn@latest

Usage

The data is supplied through stdin.

$ cat data.yaml | yn

type the path to traverse .person.address.city

example

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

multidoc