underscore-cli
underscore-cli copied to clipboard
Command-line utility-belt for hacking JSON and Javascript.
`cat data.json | underscore print`
I am trying to find what formats are available under --outfmt (without looking at the code..) README says to "See 'help formats'". I think it means to do following, but...
``` $ echo '{}' | underscore print --outfmt '?' Unrecognized output format: '?'. See 'help formats', or select from ['json', 'dense', 'stringify', 'pretty', 'inspect', 'text', 'msgpack', 'msgpack.print'] ``` Hmm, OK,...
The help command refers to get more details about formatting using the command `help formats`: ``` Options: -h, --help output usage information -V, --version output the version number -i, --in...
Is there anyway to use this for formatting console data in iterm2 ? we may trigger a comment to execute logs or something ?
I currently have this useful command in my project's package.json and it is installed under node_modules. I am using it in one of my project's build scripts, and have to...
I'm trying to fetch all the keys from a map in multiple files. Is there a way in which I can provide multiple files as input something like `underscore keys...
When pretty-printing a json document that includes an array of many elements, each element of the array ends up on a separate line. It would be nice if array element...
As I scrolled down through the readme, I saw a lot of links that use incorrect syntax (`[text] (link)`). They should not contain a space between the `]` and `(`....
The command, `$ echo '{"hello": "world"}' | underscore print | echo` outputs ```events.js:167 throw er; // Unhandled 'error' event ^ Error: write EPIPE at WriteWrap.afterWrite [as oncomplete] (net.js:788:14) Emitted 'error'...