Expand description
kevy-cli [options] [command]: the redis-cli half of the binary.
§Examples
// Parsing refuses what redis-cli refuses, with redis-cli's exit code.
assert_eq!(kevy_cli::rcli::run(&[b"-2".to_vec(), b"-3".to_vec()]), 1);kevy-cli’s redis-cli: everything redis-cli [options] [command] does.
Acceptance is bench/cligate.py: every case runs redis-cli and kevy-cli
against the same server and compares the bytes; where kevy-cli differs on
purpose, bench/cligate/deviations.txt says where and why.
Functions§
- run
- Run redis-cli with
args(without the program name); the exit code.