aboutsummaryrefslogtreecommitdiff
path: root/pkg/commands/command-registry.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/commands/command-registry.go')
-rw-r--r--pkg/commands/command-registry.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/pkg/commands/command-registry.go b/pkg/commands/command-registry.go
index eaefc65..7db4923 100644
--- a/pkg/commands/command-registry.go
+++ b/pkg/commands/command-registry.go
@@ -75,4 +75,14 @@ var Registry = map[string]CommandDef{
ExtractKeys: SingleKey,
Execute: Rename,
},
+ "RPOP": {
+ MinArgs: 2,
+ ExtractKeys: SingleKey,
+ Execute: Rpop,
+ },
+ "LPOP": {
+ MinArgs: 2,
+ ExtractKeys: SingleKey,
+ Execute: Lpop,
+ },
} \ No newline at end of file