it2 variable list
List variables
Synopsis
it2 variable list [scope] [identifier] [flags]
Description
List variables from specified scope(s).
Scopes:
app - Application-wide variables
session - Session-specific variables (requires session-id)
tab - Tab-specific variables (requires tab-id)
window - Window-specific variables (requires window-id)
If no scope is specified, lists variables from all available scopes.
Examples:
it2 variable list # List all variables
it2 variable list app # List app variables
it2 variable list session
it2 variable list tab
it2 variable list window
Options
-
-f,--format(default "text") - Output format (text, json, yaml)
-
--session - Session ID for session-scoped variables
-
--tab - Tab ID for tab-scoped variables
-
--window - Window ID for window-scoped variables
Options inherited from parent commands
-
--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 variable - Manage iTerm2 variables
- it2 variable delete - Delete/unset a variable
- it2 variable export - Export variables to JSON
- it2 variable get - Get value of a variable
- it2 variable import - Import variables from JSON file
- it2 variable monitor - Monitor variable changes in real-time
- it2 variable set - Set value of a variable