COMMANDIntrospect the command table (COUNT, LIST, INFO, DOCS subcommands).
| 语法 | COMMAND [COUNT | LIST | INFO command [command ...] | DOCS [command [command ...]]] |
| 分组 | server |
| 参数个数 | -1 |
| 起始版本 | 1.0.0 |
| 标志 | readonly |
| 复杂度 | bare / LIST / DOCS: O(V) verbs. COUNT: O(1). INFO / DOCS with k names: O(k*V) — the lookup is a linear scan |
| Redis 兼容性 | 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 |