From 5d8dfe892a2ea89f706ee140c3bdcfd89fe03fda Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Wed, 21 Jan 2026 22:40:55 +0100 Subject: Add Redis source code for testing --- .../redis-unstable/src/commands/module-loadex.json | 51 ++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 examples/redis-unstable/src/commands/module-loadex.json (limited to 'examples/redis-unstable/src/commands/module-loadex.json') diff --git a/examples/redis-unstable/src/commands/module-loadex.json b/examples/redis-unstable/src/commands/module-loadex.json new file mode 100644 index 0000000..6c750ea --- /dev/null +++ b/examples/redis-unstable/src/commands/module-loadex.json @@ -0,0 +1,51 @@ +{ + "LOADEX": { + "summary": "Loads a module using extended parameters.", + "complexity": "O(1)", + "group": "server", + "since": "7.0.0", + "arity": -3, + "container": "MODULE", + "function": "moduleCommand", + "command_flags": [ + "NO_ASYNC_LOADING", + "ADMIN", + "NOSCRIPT", + "PROTECTED" + ], + "reply_schema": { + "const": "OK" + }, + "arguments": [ + { + "name": "path", + "type": "string" + }, + { + "name": "configs", + "token": "CONFIG", + "type": "block", + "multiple": true, + "multiple_token": true, + "optional": true, + "arguments": [ + { + "name": "name", + "type": "string" + }, + { + "name": "value", + "type": "string" + } + ] + }, + { + "name": "args", + "token": "ARGS", + "type": "string", + "multiple": true, + "optional": true + } + ] + } +} -- cgit v1.2.3