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.json37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/commands/info.json b/src/commands/info.json
new file mode 100644
index 0000000..612294d
--- /dev/null
+++ b/src/commands/info.json
@@ -0,0 +1,37 @@
+{
+ "INFO": {
+ "summary": "Get 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"
+ ],
+ "arguments": [
+ {
+ "name": "section",
+ "type": "string",
+ "multiple": true,
+ "optional": true
+ }
+ ]
+ }
+}