Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/semihbkgr/yn
yaml navigator for interactively traversing through yaml structures
https://github.com/semihbkgr/yn
cli kubernetes tools traverse utility yaml
Last synced: about 1 month ago
JSON representation
yaml navigator for interactively traversing through yaml structures
- Host: GitHub
- URL: https://github.com/semihbkgr/yn
- Owner: semihbkgr
- License: mit
- Created: 2023-11-13T20:07:46.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-05-06T04:47:24.000Z (8 months ago)
- Last Synced: 2024-05-06T05:38:52.375Z (8 months ago)
- Topics: cli, kubernetes, tools, traverse, utility, yaml
- Language: Go
- Homepage:
- Size: 1.12 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
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](/images/terminal.png)
## Installation
```bash
go install github.com/semihbkgr/yn@latest
```## Usage
The data is supplied through `stdin`.
```bash
$ cat data.yaml | yn
```type the path to traverse `.person.address.city`
![example](/images/example.png)
makes it easy to explore multi-doc outputs of helm templates.
```bash
$ helm template ingress-nginx ingress-nginx --repo https://kubernetes.github.io/ingress-nginx --namespace ingress-nginx | yn
```![multidoc](/images/multidoc.png)