{
    "FLUSH": {
        "summary": "Remove all the scripts from the script cache.",
        "complexity": "O(N) with N being the number of scripts in cache",
        "group": "scripting",
        "since": "2.6.0",
        "arity": -2,
        "container": "SCRIPT",
        "function": "scriptCommand",
        "history": [
            [
                "6.2.0",
                "Added the `ASYNC` and `SYNC` flushing mode modifiers, as well as the  **lazyfree-lazy-user-flush** configuration directive."
            ]
        ],
        "command_flags": [
            "NOSCRIPT",
            "MAY_REPLICATE"
        ],
        "acl_categories": [
            "SCRIPTING"
        ],
        "arguments": [
            {
                "name": "async",
                "type": "oneof",
                "optional": true,
                "arguments": [
                    {
                        "name": "async",
                        "type": "pure-token",
                        "token": "ASYNC"
                    },
                    {
                        "name": "sync",
                        "type": "pure-token",
                        "token": "SYNC"
                    }
                ]
            }
        ]
    }
}
