Project

yamlquery

0.0
No commit activity in last 3 years
No release in over 3 years
Search and set values in multiple yaml files. This is particularly useful for wrangling data in puppetlabs hiera.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.13
~> 0.10.4
~> 10.0
~> 3.0

Runtime

~> 1.7.1
 Project Readme

Yamlquery

Searches yaml files for keys and values using a simple query language. This was developed with the intention of managing puppet hiera files.

Installation

$ gem install yamlquery

Usage

# yq -y -p ../examples/example.yaml 'foo.funk==head'
---
foo:
  funk:
  - head
  - shoulders

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/nburg/yamlquery.

License

The gem is available as open source under the terms of the MIT License.