rustyrazorblade / easy-cass-lab

Other
5 stars 4 forks source link

Add utility to find cassandra yaml options #117

Closed rustyrazorblade closed 2 months ago

rustyrazorblade commented 2 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 2 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.