Cross platform dotnet tool for querying json files and first super hacky support for js files with embedded json. First language supported in JmesPath. Screenshot below is the command running in a VSCode terminal on mac OSX.
dotnet tool install --global --add-source ./nupkg goblinfactory.jsonquery
jsq {filename} {jmespath query expression}
example
jsq sample.js "lists[].name"
- Currently does not create (write to the output file) I'll add that shortly.