Server.GetCommandsAsync
Reads the commands this tmux knows.
Source and package
- Qualified name
-
LibTmux .Server. Get Commands Async - Namespace
- LibTmux
- Declared in
Server- Package
- LibTmux
- Source
- src/LibTmux/Server.Administration.cs
- async Task<IRead
Only <string>> GetCommandsAsync( string? name = null, CancellationList Token cancellationToken = default ) -
- Parameters
-
-
name(string?) – One command to describe, or null for all of them.Default
null -
cancellationToken(CancellationToken ) – Cancels the tmux command.Default
default
-
- Returns
-
One line per command, giving its syntax.
Recorded calls
source callsThe C# reference records declarations, not calls, so this page shows no callers or callees. That is a limit of the extracted data, not a statement that nothing calls LibTmux.Server.GetCommandsAsync.
tmux command
task materialThe tmux commands behind GetCommandsAsync.
tmux C API
task materialThe C declarations in tmux that implement these commands.
In other ports
task equivalence 5 other ports mappedSource-verified mappings for List the commands this tmux understands. A mapping says these APIs perform the same task. It does not say they share defaults, errors or completion: check each page.
| Port | API | Differs from C# |
|---|---|---|
| C# | Lib Reads the commands this tmux knows. | This page |
| Python | libtmux List tmux commands via $ tmux list-commands. | None recorded in the model |
| TypeScript | server Every command name the running tmux understands. | None recorded in the model |
| Go | tmux ListCommands returns an owned snapshot of raw tmux command-description lines. A list failure is returned rather than answered with no rows. Like Server.ListKeys, it answers on a socket holding no server. | None recorded in the model |
| Java | io Every command, as tmux prints it. | on Commands |
| C++ | libtmux:: Every command this tmux understands, with its alias and usage. | readonly |
No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.
no equivalent on Server
no equivalent on Server
No direct public OCaml equivalent is recorded for this operation.
No dedicated equivalent in the selected Perl surface. Explicit Server::cmd remains available for native tmux commands.
No direct Raku mapping is recorded for this operation; consult the native API reference.
No equivalent is recorded in Ruby, Lua, PowerShell, Julia, Erlang, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.