COMMAND LIST

COMMAND LIST

COMMAND LIST [MODULE | ACLCAT | PATTERN]
Available since
7.0.0
Time complexity
O(N) where N is the total number of Redict commands
ACL categories
@slow, @connection

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.

Redict logo courtesy of @janWilejan, CC-BY-SA-4.0. Download SVG ⤑

Portions of this website courtesy of Salvatore Sanfilippo, CC-BY-SA-4.0.