summaryrefslogtreecommitdiffstats
path: root/src/commands/cluster-info.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/cluster-info.json')
-rw-r--r--src/commands/cluster-info.json21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/commands/cluster-info.json b/src/commands/cluster-info.json
new file mode 100644
index 0000000..2c88760
--- /dev/null
+++ b/src/commands/cluster-info.json
@@ -0,0 +1,21 @@
+{
+ "INFO": {
+ "summary": "Returns information about the state of a node.",
+ "complexity": "O(1)",
+ "group": "cluster",
+ "since": "3.0.0",
+ "arity": 2,
+ "container": "CLUSTER",
+ "function": "clusterCommand",
+ "command_flags": [
+ "STALE"
+ ],
+ "command_tips": [
+ "NONDETERMINISTIC_OUTPUT"
+ ],
+ "reply_schema": {
+ "description": "A map between named fields and values in the form of <field>:<value> lines separated by newlines composed by the two bytes CRLF",
+ "type": "string"
+ }
+ }
+}