Skip to content

Instantly share code, notes, and snippets.

@cboden
Created March 30, 2016 16:44
Show Gist options
  • Save cboden/b7cffbbc8715a5e442dcc8c6d18a85df to your computer and use it in GitHub Desktop.
Save cboden/b7cffbbc8715a5e442dcc8c6d18a85df to your computer and use it in GitHub Desktop.
Bash CouchDB shortcut function
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