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/command-list.json | 55 ++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 examples/redis-unstable/src/commands/command-list.json (limited to 'examples/redis-unstable/src/commands/command-list.json') diff --git a/examples/redis-unstable/src/commands/command-list.json b/examples/redis-unstable/src/commands/command-list.json new file mode 100644 index 0000000..b85a9a5 --- /dev/null +++ b/examples/redis-unstable/src/commands/command-list.json @@ -0,0 +1,55 @@ +{ + "LIST": { + "summary": "Returns a list of command names.", + "complexity": "O(N) where N is the total number of Redis commands", + "group": "server", + "since": "7.0.0", + "arity": -2, + "container": "COMMAND", + "function": "commandListCommand", + "command_flags": [ + "LOADING", + "STALE", + "SENTINEL" + ], + "acl_categories": [ + "CONNECTION" + ], + "command_tips": [ + "NONDETERMINISTIC_OUTPUT_ORDER" + ], + "arguments": [ + { + "name": "filterby", + "token": "FILTERBY", + "type": "oneof", + "optional": true, + "arguments": [ + { + "name": "module-name", + "type": "string", + "token": "MODULE" + }, + { + "name": "category", + "type": "string", + "token": "ACLCAT" + }, + { + "name": "pattern", + "type": "pattern", + "token": "PATTERN" + } + ] + } + ], + "reply_schema": { + "type": "array", + "items": { + "description": "command name", + "type": "string" + }, + "uniqueItems": true + } + } +} -- cgit v1.2.3