yn

command module
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2024 License: MIT Imports: 1 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL