ddopson / underscore-cli

Command-line utility-belt for hacking JSON and Javascript.
Other
1.72k stars 83 forks source link

selecting multiple fields #57

Open MarkOBrienAU opened 7 years ago

MarkOBrienAU commented 7 years ago

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 need two invocations to the command ? If so I'm pulling data in from wget, is saving to a temp file then catting out the best way to handle this ?