it2 session variable get

Get a session variable value

Synopsis

it2 session variable get <session-id> <name>

Description

Get a session variable value.

Examples:
it2 session variable get $SESSION user.channels
it2 session variable get sess_123 session.hostname
it2 session variable get sess_123 profileName

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