Created by: laixintao
https://github.com/laixintao/iredis
Interactive Redis: A Terminal Client for Redis with AutoCompletion and Syntax Highlighting.
Features
- Advanced code completion. If you run command
KEYSthen runDEL, IRedis will auto-complete your command based onKEYSresult. - Command validation. E.g. try
CLUSTER MEET IP PORT, iredis will validate IP and PORT for you. - Command highlighting, fully based on redis grammar. Any valid command in IRedis shell is a valid redis command.
- Human-friendly result display.
-
peekcommand to check the key's type then automatically callget/lrange/sscan, etc, depending on types. You don't need to call thetypecommand then type another command to get the value.peekwill also display the key's length and memory usage. - Ctrl + C to cancel the current typed command, this won't exit iredis, exactly like bash behaviour. Use Ctrl + D to send a EOF to exit iredis.
- Says "Goodbye!" to you when you exit!
- Ctrl + R to open reverse-i-search to search through your command history.
- Auto suggestions. (Like fish shell.)
- Support
--encode=utf-8, to decode Redis' bytes responses. - Command hint on bottom, include command syntax, supported redis version, and time complexity.
- Offcial docs with built-in
HELPcommand, tryHELP SET! - Written in pure Python, but IRedis was packaged into a single binary with PyOxidizer, you can use cURL to download and run, it just works, even you don't have a Python interpreter.
- For full features, please see: iredis.io/show
What's the difference between this Python project and similar ones?
There is no other redis-cli alternative currently.
--
Anyone who agrees with this pull request could vote for it by adding a