Skip to main content

Crate kevy_cli

Crate kevy_cli 

Source
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::pack and backup::unpack. v1.40 — kevy-cli backup / kevy-cli restore subcommands.
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). See migrate::run_export and migrate::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-cli does. Arrays are numbered + indented; bulk strings are quoted; nil shows as (nil).