libtmux Reference MCP Search
On this page

libtmux.Server.list_commands

View as Markdown

Module
libtmux
Declared in
Server
Package
libtmux
Source
src/libtmux/server.py
list_commands ( self , command_name : str | None = None ) list[str]
method [source]
method [source]
list_commands

List tmux commands via $ tmux list-commands.

Examples

>>> result = server.list_commands(command_name='send-keys')
>>> len(result) >= 1
True
Parameters
  • command_name ( str | None ) – Filter to a specific command.

Returns

list[str] Command listing lines.

0 declared, 0 inherited

Esc

Type to search.