COMMAND LIST

Usage:
COMMAND LIST [ FILTERBY MODULE module-name | ACLCAT category | PATTERN pattern ]
Complexity:
O(N) where N is the total number of commands
Since:
7.0.0

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 specified by category.
  • PATTERN pattern: get the commands that match the given glob-like pattern.