Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (9 sloc) 407 Bytes

rediscli

A really basic, hacked together redis cli in ruby. Not even a proper gem or interface, but it's enough to get me by

Using

Make sure you've run bundle install. Then,

REDIS_URI=redis://user:pass@host:port/ bundle exec ruby cli.rb

You will then have a console with the connection defined under REDIS

pry(main)> REDIS.set 'abc', 'def'
pry(main)> REDIS.get 'abc'
=> 'def'
Something went wrong with that request. Please try again.