summaryrefslogtreecommitdiffstats
path: root/src/commands/acl-whoami.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/acl-whoami.json')
-rw-r--r--src/commands/acl-whoami.json17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/commands/acl-whoami.json b/src/commands/acl-whoami.json
new file mode 100644
index 0000000..7c3cc9a
--- /dev/null
+++ b/src/commands/acl-whoami.json
@@ -0,0 +1,17 @@
+{
+ "WHOAMI": {
+ "summary": "Return the name of the user associated to the current connection",
+ "complexity": "O(1)",
+ "group": "server",
+ "since": "6.0.0",
+ "arity": 2,
+ "container": "ACL",
+ "function": "aclCommand",
+ "command_flags": [
+ "NOSCRIPT",
+ "LOADING",
+ "STALE",
+ "SENTINEL"
+ ]
+ }
+}