COMMAND
Introspect the command table (COUNT, LIST, INFO, DOCS subcommands).
COMMAND [COUNT | LIST | INFO command [command ...] | DOCS [command [command ...]]]
Complexity
bare / LIST / DOCS: O(V) verbs. COUNT: O(1). INFO / DOCS with k names: O(k*V) — the lookup is a linear scan
Complexity and compatibility are read out of kevy's implementation, not copied from Redis's reference. Several genuinely differ.
Redis compatibility
Differs
COUNT / LIST / INFO / DOCS only — GETKEYS and GETKEYSANDFLAGS are absent, and the info rows hard-code first/last/step and leave ACL categories, tips and key-specs empty
See also
BGREWRITEAOFBGSAVECLIENTCLUSTERCONFIGDBSIZEDEBUGFLUSHALLFLUSHDBINFOMEMORYSAVESHUTDOWNSLOWLOG