rustyrazorblade / easy-cass-lab

Create Apache Cassandra lab environments in AWS
https://rustyrazorblade.com/
Other
11 stars 7 forks source link

Add utility to find cassandra yaml options #117

Closed rustyrazorblade closed 7 months ago

rustyrazorblade commented 7 months ago

Add a tool based on yq that takes a search string and outputs all the matching options, with all the nested options as well.

It should support using an environment variable to define the config path to make it useful outside of ecl

rustyrazorblade commented 7 months ago

I wasn't able to figure out how to do this with yq. I ended up basing it on ripgrep using -A and -B context flags. Seems to work ok.