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
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for folkol.yg-0.0.16-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b499a669137aaf30e6e8b8967d0719d648e6e014b8d2175ab83b2d7b29c8cfa8 |
|
MD5 | 92b2a437c7350159dd266bce5f744cff |
|
BLAKE2b-256 | afca9216000b92e23a0761992dc10e717b36e6dde71ba6ab470d90b3e06eca21 |