import type { CommandOptions } from "./command"; import { Command } from "./command"; /** * @see https://redis.io/commands/lmove * @see node_modules/@upstash/redis/docs/commands/list/lmove.mdx */ export class LMoveCommand extends Command { constructor( cmd: [ source: string, destination: string, whereFrom: "left" | "right", whereTo: "left" | "right", ], opts?: CommandOptions ) { super(["lmove", ...cmd], opts); } }