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
- it2 broadcast - Manage broadcast domains
- it2 broadcast clear - Clear broadcast domains
- it2 broadcast list - List broadcast domains
- it2 broadcast send - Send text to broadcast domain