kevy-cli
A small redis-cli-style client and operator CLI for kevy, or any
RESP server. Pure Rust, zero crates.io dependencies beyond
kevy-resp.
# one-shot
# interactive REPL
()
)
)
Install
Flags
| Flag | Meaning | Default |
|---|---|---|
-h <host> |
RESP server hostname | 127.0.0.1 |
-p <port> |
RESP server port | 6379 |
-s <path> |
Unix-domain socket path (replaces host + port) | — |
-t <secs> |
Connection timeout in seconds | 5 |
Reply rendering
Replies are pretty-printed in the standard redis-cli style:
- Errors →
(error) <message>, exit code1for one-shot calls. - Integers →
(integer) <n>. - Bulk strings →
"<bytes>"or(nil). - Arrays → numbered list, recursively.
Backup and restore
backup runs against a live server. restore writes into a fresh
data directory so the server picks the contents up on the next boot.
License
Licensed under either of MIT or Apache-2.0, at your option.