Skip to content
/ yiq Public
forked from fiatjaf/jiq

interactive YAML query tool using yq expressions

License

Notifications You must be signed in to change notification settings

zoetrope/yiq

 
 

Repository files navigation

yiq

It's jiq with yq.

You can drill down interactively by using yq filtering queries.

yiq uses yq internally, and it requires you to have yq in your PATH.

Demo

T.B.D.

Installation

Either prebuilt binary for your system (and make sure to chmod +x it first) or install/compile with Go:

go get github.com/zoetrope/yiq/cmd/yiq

If you don't have yq installed, follow instructions at https://github.com/mikefarah/yq/releases and make sure to put it in your PATH.

Usage

Quick start

simple example

cat > sample.yaml <<EOF
apiVersion: apps/v1
kind: Deployment
metadata:
  name: sample
  labels:
    app: ubuntu
spec:
  replicas: 2
  selector:
    matchLabels:
      app: ubuntu
  template:
    metadata:
      labels:
        app: ubuntu
    spec:
      containers:
      - name: ubuntu
        image: ubuntu:18.04
EOF
cat sample.yaml | yiq

About

interactive YAML query tool using yq expressions

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 99.0%
  • Makefile 1.0%