{
    "SLAVEOF": {
        "summary": "Make the server a replica of another instance, or promote it as master. Deprecated starting with Redis 5. Use REPLICAOF instead.",
        "complexity": "O(1)",
        "group": "server",
        "since": "1.0.0",
        "arity": 3,
        "function": "replicaofCommand",
        "command_flags": [
            "NO_ASYNC_LOADING",
            "ADMIN",
            "NOSCRIPT",
            "STALE"
        ],
        "arguments": [
            {
                "name": "host",
                "type": "string"
            },
            {
                "name": "port",
                "type": "string"
            }
        ]
    }
}
