summaryrefslogtreecommitdiffstats
path: root/src/commands/cluster-replicate.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/cluster-replicate.json')
-rw-r--r--src/commands/cluster-replicate.json22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/commands/cluster-replicate.json b/src/commands/cluster-replicate.json
new file mode 100644
index 0000000..beda5e7
--- /dev/null
+++ b/src/commands/cluster-replicate.json
@@ -0,0 +1,22 @@
+{
+ "REPLICATE": {
+ "summary": "Reconfigure a node as a replica of the specified master node",
+ "complexity": "O(1)",
+ "group": "cluster",
+ "since": "3.0.0",
+ "arity": 3,
+ "container": "CLUSTER",
+ "function": "clusterCommand",
+ "command_flags": [
+ "NO_ASYNC_LOADING",
+ "ADMIN",
+ "STALE"
+ ],
+ "arguments": [
+ {
+ "name": "node-id",
+ "type": "string"
+ }
+ ]
+ }
+}