Last active
January 1, 2016 21:39
-
-
Save garbados/8204632 to your computer and use it in GitHub Desktop.
Using `jq` to pipe couchdb contents into `dat`
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# _all_docs | |
curl http://localhost:5984/eggchair/_all_docs?include_docs=true | jq -c ".rows[] | .doc" | dat --json | |
# _changes | |
curl http://localhost:5984/eggchair/_changes?include_docs=true | jq -c ".results[] | .doc" | dat --json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment