it2 app get-variable
Get the value of an application-level variable
Synopsis
it2 app get-variable <variable-name>
Description
Get the value of an application-level variable.
Common variables:
id - Current session ID
tab.id - Current tab ID
window.id - Current window ID
effectiveTheme - Current theme (light/dark)
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 app - Control the iTerm2 application