LibTmux.Get-TmuxClient
Read the clients attached to a tmux server.
Source and package
- Qualified name
-
LibTmux\ Get-Tmux Client - Declared in
LibTmux- Package
- LibTmux
- Source
- src/LibTmux.PowerShell/GetTmuxClientCommand.cs
- Get-TmuxClient [-Server] <Lib
Tmux > [-Name <System.Server .String >] [<CommonParameters >] -
Description
Read current client rows through the native core. Name is an ordinal literal selector, not a wildcard or tmux target expression. Return native
Clientobjects; an empty server or unmatched name produces no objects.AttachedSessionIdis captured state, so useGet-TmuxClientAttachmentto resolve the current attachment.Notes
This read does not attach, detach or own any client. Listing an unavailable server writes an error.
Command details
- Command type
cmdlet- Positional binding
- Enabled.
- Pipeline inputs
LibTmux.Server: Native pipeline owner.- Outputs
LibTmux.Client
- Parameters
-
-
The server whose attached clients are listed.
- Required
- Yes
- Position
- 0
- Pipeline input
- By value
- Validation
ValidateNotNull()
-
An exact, case-sensitive client name.
- Required
- No
- Position
- Named
- Pipeline input
- No
- Validation
ValidateNotNullOrEmpty()
Common parameters 12
PowerShell supplies these parameters. See common parameter behavior for their effects.
-
-Verbose(System.Management ).Automation .Switch Parameter Display verbose messages produced by this command.
Aliases:vbMicrosoft Learn reference -
-Debug(System.Management ).Automation .Switch Parameter Display debug messages produced by this command.
Aliases:dbMicrosoft Learn reference -
-ErrorAction(System.Management ).Automation .Action Preference Choose how this command responds to non-terminating errors.
Aliases:eaMicrosoft Learn reference -
-WarningAction(System.Management ).Automation .Action Preference Choose how this command responds to warning messages.
Aliases:waMicrosoft Learn reference -
-InformationAction(System.Management ).Automation .Action Preference Choose how this command handles information messages.
Aliases:infaMicrosoft Learn reference -
-ProgressAction(System.Management ).Automation .Action Preference Choose how this command handles progress updates.
Aliases:progaMicrosoft Learn reference -
-ErrorVariable(System.String )Store the command's error records in the named variable.
Aliases:evMicrosoft Learn reference -
-WarningVariable(System.String )Store the command's warning records in the named variable.
Aliases:wvMicrosoft Learn reference -
-InformationVariable(System.String )Store the command's information records in the named variable.
Aliases:ivMicrosoft Learn reference -
Save output in the named variable while passing it down the pipeline.
Aliases:ovMicrosoft Learn reference -
Buffer output before passing it to the next pipeline command.
Aliases:obMicrosoft Learn reference -
-PipelineVariable(System.String )Make the most recent output object available through a named variable within the pipeline.
Aliases:pvMicrosoft Learn reference
-
- Returns
-
LibTmux.Client: Native observed result.
Examples
Example 1 Read clients from a previously selected native
$server. View sourceTerminal window $server | LibTmux\Get-TmuxClient
Same owner
containment 1 of 58 shownOther members of LibTmux whose names share Get-TmuxClient. They sit on the same type; that does not make them behave alike.
Recorded calls
source callsThe PowerShell 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\Get-TmuxClient.
tmux command
task materialThe tmux commands behind Get-TmuxClient.
tmux C API
task materialThe C declarations in tmux that implement these commands.
In other ports
task equivalence 19 other ports mappedSource-verified mappings for List the server's attached clients. 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 PowerShell |
|---|---|---|
| PowerShell | Lib Read the clients attached to a tmux server. | This page |
| Python | libtmux Clients attached to this tmux server. | None recorded in the model |
| Ruby | Lib Behavior: Live acquisition. | None recorded in the model |
| Julia | Lib | |
| Elixir | Lib Returns a materialized attached-client selection without I/O. | Returns a Selection of captured attached clients without contacting tmux. |
| Common Lisp | libtmux: Return a fresh vector of attached-client observations, without I/O.
Preserve listing order and multiplicity, including repeated target names. | 3 overloads clients returns fresh attached-client observations from a retained snapshot. |
| TypeScript | server Every client attached to the server. | async |
| Rust | server List every client attached to the server, preserving any failure. | async |
| Go | tmux Clients materializes attached clients. Failures, including ErrNoServer, remain errors rather than empty results. | None recorded in the model |
| Java | io Captures every attached client. | None recorded in the model |
| Clojure | libtmux Acquires captured clients. | None recorded in the model |
| Kotlin | io Captures every attached client. | async |
| Scala | io Captures every attached client. | None recorded in the model |
| C# | Lib Gets the clients this handle captured. | None recorded in the model |
| F# | Lib Queries attached clients. | Builds a deferred client query on the shared .NET LibTmux.Server. Query.list acquires attached clients. |
| C++ | libtmux:: | readonly |
| Swift | Server Every client attached to this server. | async |
| OCaml | Libtmux Collections and their contents are immutable. They retain capture order, are replayable and remain readable after the acquiring client closes. | Reads captured attached-client observations, separate from transport Client.t handles. |
| Perl | Lib Return a fresh LibTmux::ClientSelection in captured order. A loaded empty client set is valid. | Local captured client membership; Server::clients explicitly acquires a new graph. |
| Raku | Lib Captured attached clients with their observed process and creation identity. | None recorded in the model |
No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.
No equivalent is recorded in Lua or Erlang.