Created
March 30, 2016 16:44
-
-
Save cboden/b7cffbbc8715a5e442dcc8c6d18a85df to your computer and use it in GitHub Desktop.
Bash CouchDB shortcut function
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
couch() { | |
curl -s "${@:2}" http://127.0.0.1:5984/$1 | json_pp | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment