Permalink
Switch branches/tags
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 5 lines (4 sloc) 328 Bytes
#!/bin/bash
echo '{ "foo": "bar", "baz": ["quux", "qux"], "corge": "grault" }' | node json-cherrypick.js foo
echo '{ "foo": "bar", "baz": ["quux", "qux"], "corge": "grault" }' | node json-cherrypick.js baz.1
echo '{ "foo": "bar", "baz": ["quux", "qux"], "corge": { "grault": "garply" } }' | node json-cherrypick.js corge.grault