summaryrefslogtreecommitdiffstats
path: root/src/commands/info.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/info.json')
-rw-r--r--src/commands/info.json41
1 files changed, 41 insertions, 0 deletions
diff --git a/src/commands/info.json b/src/commands/info.json
new file mode 100644
index 0000000..04a02b1
--- /dev/null
+++ b/src/commands/info.json
@@ -0,0 +1,41 @@
+{
+ "INFO": {
+ "summary": "Returns information and statistics about the server.",
+ "complexity": "O(1)",
+ "group": "server",
+ "since": "1.0.0",
+ "arity": -1,
+ "function": "infoCommand",
+ "history": [
+ [
+ "7.0.0",
+ "Added support for taking multiple section arguments."
+ ]
+ ],
+ "command_flags": [
+ "LOADING",
+ "STALE",
+ "SENTINEL"
+ ],
+ "acl_categories": [
+ "DANGEROUS"
+ ],
+ "command_tips": [
+ "NONDETERMINISTIC_OUTPUT",
+ "REQUEST_POLICY:ALL_SHARDS",
+ "RESPONSE_POLICY:SPECIAL"
+ ],
+ "reply_schema": {
+ "description": "A map of info fields, one field per line in the form of <field>:<value> where the value can be a comma separated map like <key>=<val>. Also contains section header lines starting with `#` and blank lines.",
+ "type": "string"
+ },
+ "arguments": [
+ {
+ "name": "section",
+ "type": "string",
+ "multiple": true,
+ "optional": true
+ }
+ ]
+ }
+}