import type { CommandOptions } from "./command"; import { Command } from "./command"; /** * @see https://redis.io/commands/rpush * @see node_modules/@upstash/redis/docs/commands/list/rpush.mdx */ export class RPushCommand extends Command { constructor(cmd: [key: string, ...elements: TData[]], opts?: CommandOptions) { super(["rpush", ...cmd], opts); } }