command getkeys
COMMAND
COMMAND GETKEYS
Returns Array reply of keys from a full Redis command.
COMMAND GETKEYS is a helper command to let you find the keys from a full Redis command.
COMMAND shows some commands as having movablekeys meaning the entire command must be parsed to discover storage or retrieval keys- You can use COMMAND GETKEYS to discover key positions directly from how Redis parses the commands.