COMMAND INFO [command-name [command-name ...]]

Returns @array-reply of details about multiple Redis 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.

@return

@array-reply: nested list of command details.

@examples

redis> COMMAND INFO get set eval
TBD
redis> COMMAND INFO foo evalsha config bar

History

  • Starting with Redis version 7.0.0: Allowed to be called with no argument to get info on all commands.