summaryrefslogtreecommitdiffstats
path: root/iredis/data/commands/command-list.md
diff options
context:
space:
mode:
Diffstat (limited to 'iredis/data/commands/command-list.md')
-rw-r--r--iredis/data/commands/command-list.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/iredis/data/commands/command-list.md b/iredis/data/commands/command-list.md
new file mode 100644
index 0000000..5c0a4a7
--- /dev/null
+++ b/iredis/data/commands/command-list.md
@@ -0,0 +1,11 @@
+Return an array of the server's command names.
+
+You can use the optional _FILTERBY_ modifier to apply one of the following filters:
+
+ - **MODULE module-name**: get the commands that belong to the module specified by _module-name_.
+ - **ACLCAT category**: get the commands in the [ACL category](/docs/manual/security/acl/#command-categories) specified by _category_.
+ - **PATTERN pattern**: get the commands that match the given glob-like _pattern_.
+
+@return
+
+@array-reply: a list of command names.