Skip to content

Instantly share code, notes, and snippets.

@bkerley
Created July 5, 2013 15:22
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save bkerley/5935263 to your computer and use it in GitHub Desktop.
Save bkerley/5935263 to your computer and use it in GitHub Desktop.
riak-admin repl
#!/usr/bin/env zsh
RIAK_ADMIN_PATH='/Users/bkerley/erlang/riak/riak/dev/dev1/bin/riak-admin'
echo -n "riak-admin> "
while read inputline; do
echo `$RIAK_ADMIN_PATH $inputline`
echo -n "riak-admin> "
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment