COMMAND INFO

Usage:
COMMAND INFO [ command-name ] [ [ command-name ] ...]
Complexity:
O(N) where N is the number of commands to look up
Since:
2.8.13

Returns @array-reply of details about multiple Valkey commands.

Same result format as COMMAND except you can specify which commands get returned.

If you request details about non-existing commands, their return position will be nil.

Examples

COMMAND INFO get set eval
COMMAND INFO foo evalsha config bar

History

Version Change
7.0.0 Allowed to be called with no argument to get info on all commands.