summaryrefslogtreecommitdiffstats
path: root/src/commands/acl-cat.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/acl-cat.json')
-rw-r--r--src/commands/acl-cat.json24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/commands/acl-cat.json b/src/commands/acl-cat.json
new file mode 100644
index 0000000..a132cbc
--- /dev/null
+++ b/src/commands/acl-cat.json
@@ -0,0 +1,24 @@
+{
+ "CAT": {
+ "summary": "List the ACL categories or the commands inside a category",
+ "complexity": "O(1) since the categories and commands are a fixed set.",
+ "group": "server",
+ "since": "6.0.0",
+ "arity": -2,
+ "container": "ACL",
+ "function": "aclCommand",
+ "command_flags": [
+ "NOSCRIPT",
+ "LOADING",
+ "STALE",
+ "SENTINEL"
+ ],
+ "arguments": [
+ {
+ "name": "categoryname",
+ "type": "string",
+ "optional": true
+ }
+ ]
+ }
+}