Skip to main content

yaml query library

Project description

yaml-query

Usage

~ cat configmap.yaml
apiVersion: v1
kind: ConfigMap
metadata:
  labels:
    app: chirper
  name: chirper
data:
  config.yaml: |
    - a
    - b
    - c
  service-config.yaml: |
    service_on: true

~ yaml-query 'metadata labels app' configmap.yaml
chirper
...

~ cat configmap.yaml | yaml-query 'data service-config.yaml'
service_on: true
...

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

yaml-query-0.0.1.tar.gz (2.1 kB view hashes)

Uploaded Source

Built Distribution

yaml_query-0.0.1-py3-none-any.whl (3.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page