Expand description
CLI-shaped Reply formatter for the kevy-cli REPL.
Only format_reply lives here — the protocol pieces (TCP connect, request
loop) live in the kevy-resp-client
crate so they’re reusable by integration tests / scripts / other tools.
This file is the CLI-specific bit (how a redis-cli user expects bulk
strings quoted, arrays numbered, nil shown as (nil)).
Modules§
- backup
- v1.40 — backup / restore container support. See
backup::packandbackup::unpack. v1.40 —kevy-cli backup/kevy-cli restoresubcommands. - bulk
- v2.10 — prefix bulk ops + diagnostics (
copy-prefix/delete-prefix/digest/diff/inspect). v2.10 — prefix bulk ops + diagnostics (RFC D4/D5):copy-prefix/delete-prefix(token-bucket rate limit,--dry-run),digest,diff,inspect. - migrate
- v2.10 — migration toolchain (
export/import). Seemigrate::run_exportandmigrate::run_import. v2.10 — migration toolchain:export/import(RFC D1/D2).
Enums§
- Reply
- A parsed RESP reply (server → client) — the client-side counterpart of
the crate’s
encode_*functions (server-side encoders).
Functions§
- format_
reply - Pretty-print a reply roughly the way
redis-clidoes. Arrays are numbered + indented; bulk strings are quoted; nil shows as(nil).