yd

command module
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2025 License: MIT Imports: 1 Imported by: 0

README

yd

YAML Incremental Digger.

Installation

$ go install github.com/skanehira/yd@latest

Usage

All of first, you can read yaml file as following.

$ yd file.yaml
$ yd https://sample.com/file.yaml
$ yd < file.yaml
$ yd -f file.yaml

Next, you can enter some query like select(.a == .b) to filter key or values. yd is using yq so the query can enter as well as yq. Please refer this document for learn how to use query of yq.

Keybind

Key Description
Enter focus view
Esc focus input
Ctrl-n scroll down view
Ctrl-p scroll up view

Author

skanehira

Thanks

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