it2 tmux list-connections

List all tmux connections

Synopsis

it2 tmux list-connections

Examples

# List tmux connections
$ it2 tmux list-connections
# List with JSON format
$ it2 tmux list-connections --format json
# Get connection count
$ it2 tmux list-connections | wc -l

Options inherited from parent commands

--format (default "text")

Output format (text, json, yaml) - affects how command results are displayed

--timeout

Timeout for API operations - how long to wait for iTerm2 to respond

--url

WebSocket URL for iTerm2 API - typically ws://localhost:1912 for local iTerm2

See Also