summaryrefslogtreecommitdiffstats
path: root/src/commands/script-debug.json
blob: a69ddcac1b92776e93c6553a2eb78f3204274dcf (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
{
    "DEBUG": {
        "summary": "Set the debug mode for executed scripts.",
        "complexity": "O(1)",
        "group": "scripting",
        "since": "3.2.0",
        "arity": 3,
        "container": "SCRIPT",
        "function": "scriptCommand",
        "command_flags": [
            "NOSCRIPT"
        ],
        "acl_categories": [
            "SCRIPTING"
        ],
        "arguments": [
            {
                "name": "mode",
                "type": "oneof",
                "arguments": [
                    {
                        "name": "yes",
                        "type": "pure-token",
                        "token": "YES"
                    },
                    {
                        "name": "sync",
                        "type": "pure-token",
                        "token": "SYNC"
                    },
                    {
                        "name": "no",
                        "type": "pure-token",
                        "token": "NO"
                    }
                ]
            }
        ]
    }
}