it2 broadcast set

Set broadcast domain

Synopsis

it2 broadcast set <session-ids...>

Description

Create broadcast groups with multiple sessions. Session IDs are normalized.

Examples

# Create broadcast domain with two sessions
$ it2 broadcast set abc123 def456
# Broadcast to all sessions in current window
$ it2 broadcast set $(it2 session list --format id --scope window)
# Set up 3-session broadcast
$ it2 broadcast set sess1 sess2 sess3
# Broadcast to all sessions in current tab
$ it2 broadcast set $(it2 session list --format id --scope tab)

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