method
RedisClient.command
...args: string | number[]
): Promise<any>;
Get details about all Redis commands or specific commands
@param args
Optional subcommand and arguments (COUNT, DOCS, INFO, LIST, GETKEYS, etc.)
@returns
Promise that resolves with command information
const count = await redis.command("COUNT");