underscore-cli
underscore-cli copied to clipboard
Command-line utility-belt for hacking JSON and Javascript.
These two work underscore select '.main_ip' --outfmt text underscore select '.default_password' --outfmt text This one doesnt: underscore select '.main_ip .default_password' --outfmt text What am I doing wrong, or do I...
Mac OS X 10.10 Forwarding `underscore pretty` output to a file (either with _-o_ option or with _>_ ) saves a file with color formatting signs being inserted, smth like:...
I am getting the following error when trying to format the output of curl requests using a command like this: `curl -i -u -d -X GET 'https://metrics-api.librato.com/v1/metrics' | underscore print...
Installed this script following instructions from the README and am seeing the following error: ``` $ underscore /usr/local/Cellar/nvm/0.30.1/versions/io.js/v1.2.0/lib/node_modules/underscore-cli/bin/underscore:69 .join(' '); ^ TypeError: undefined is not a function at /usr/local/Cellar/nvm/0.30.1/versions/io.js/v1.2.0/lib/node_modules/underscore-cli/bin/underscore:69:10 at...
--outfmt text appears to be broken because underscore.string version 3.2.3 added map function. output is: Error formatting output data in mode 'text': undefined is not a function
I was trying to parse a large file, and was very surprised to find that underscore was taking so long to return results on the file. It turns out underscore...
The `underscore-cli` project is pretty impressive. I think it would be useful for the help output to provide a synopsis of the tool's purpose, however. It would be nice if...
I have a common use case wherein a data stream is actually one JSON object per line, newline delimiting a new object. It would be nice to be able to...
I get an error message at the top of my data, even though it works perfectly: ``` bash $ underscore -i accord-log filter "value.engineName == 'jade'" module.js:340 throw err; ^...
I write this comment for people like me that might be coming from xmlstarlet and looking for something similar but for JSON. I suspect that underscore-cli can fulfill some similar...