summaryrefslogtreecommitdiffstats
path: root/src/commands/role.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/role.json')
-rw-r--r--src/commands/role.json21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/commands/role.json b/src/commands/role.json
new file mode 100644
index 0000000..4d470e3
--- /dev/null
+++ b/src/commands/role.json
@@ -0,0 +1,21 @@
+{
+ "ROLE": {
+ "summary": "Return the role of the instance in the context of replication",
+ "complexity": "O(1)",
+ "group": "server",
+ "since": "2.8.12",
+ "arity": 1,
+ "function": "roleCommand",
+ "command_flags": [
+ "NOSCRIPT",
+ "LOADING",
+ "STALE",
+ "FAST",
+ "SENTINEL"
+ ],
+ "acl_categories": [
+ "ADMIN",
+ "DANGEROUS"
+ ]
+ }
+}