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 --- examples/redis-unstable/src/commands/lolwut.json | 25 ++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 examples/redis-unstable/src/commands/lolwut.json (limited to 'examples/redis-unstable/src/commands/lolwut.json') diff --git a/examples/redis-unstable/src/commands/lolwut.json b/examples/redis-unstable/src/commands/lolwut.json new file mode 100644 index 0000000..546c14c --- /dev/null +++ b/examples/redis-unstable/src/commands/lolwut.json @@ -0,0 +1,25 @@ +{ + "LOLWUT": { + "summary": "Displays computer art and the Redis version", + "group": "server", + "since": "5.0.0", + "arity": -1, + "function": "lolwutCommand", + "command_flags": [ + "READONLY", + "FAST" + ], + "reply_schema": { + "type": "string", + "description": "String containing the generative computer art, and a text with the Redis version." + }, + "arguments": [ + { + "token": "VERSION", + "name": "version", + "type": "integer", + "optional": true + } + ] + } +} -- cgit v1.2.3