it2 prompt list

List historical prompts in a session

Synopsis

it2 prompt list [<session-id>] [flags]

Description

List all historical prompt unique IDs in a session. If no session-id is provided, uses $ITERM_SESSION_ID environment variable. Requires Shell Integration to be enabled in iTerm2.

Options

-q, --quiet
Quiet mode - output only prompt IDs to stdout

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