content/commands/command-docs.md
Return documentary information about commands.
By default, the reply includes all of the server's commands. You can use the optional command-name argument to specify the names of one or more commands.
The reply includes a map for each returned command. The following keys may be included in the mapped reply:
{{% redis-cli %}} COMMAND DOCS SET {{% /redis-cli %}}
| Redis Software | Redis Cloud | <span style="min-width: 9em; display: table-cell">Notes</span> | |:----------------------|:-----------------|:------| | <span title="Supported">✅ Standard</span> <span title="Supported"><nobr>✅ Active-Active</nobr></span> | <span title="Supported">✅ Standard</span> <span title="Supported"><nobr>✅ Active-Active</nobr></span> | |
{{< multitabs id="command-docs-return-info" tab1="RESP2" tab2="RESP3" >}}
Array reply: a map, as a flattened array, where each key is a command name, and each value is the documentary information.
-tab-sep-
Map reply: a map where each key is a command name, and each value is the documentary information.
{{< /multitabs >}}