summaryrefslogtreecommitdiffstats
path: root/src/commands/module-load.json
blob: dd5d654ed94543b14ea9eeb74de3ccb0791cdbef (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
{
    "LOAD": {
        "summary": "Loads a module.",
        "complexity": "O(1)",
        "group": "server",
        "since": "4.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": "arg",
                "type": "string",
                "optional": true,
                "multiple": true
            }
        ]
    }
}