Skip to main content

a unix filter for "greping" in YAML files

Project description

yg — "YAML grep"

Searches in YAML files for properties that matches a regex and prints them.

usage: yg pattern [files]

For more intricate command line YAML manipulation, check out yq.

Installation

$ pip install folkol.yg

Examples

  • finds Ansible variables matching nginx: yg nginx group_vars/* host_vars/*

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

folkol.yg-0.0.16.tar.gz (3.1 kB view hashes)

Uploaded Source

Built Distribution

folkol.yg-0.0.16-py3-none-any.whl (2.7 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