summaryrefslogtreecommitdiff
path: root/src/commands/command-list.json
blob: ca7cb71ed6ac9b8d515d698cd487121c40f7d5bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{
    "LIST": {
        "summary": "Get an array of Redis 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"
        ],
        "acl_categories": [
            "CONNECTION"
        ],
        "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"
                    }
                ]
            }
        ]
    }
}