it2 prompt monitor
Monitor prompt events in real-time
Synopsis
it2 prompt monitor <session-id> [flags]
Description
Monitor prompt notifications in real-time. Shows new prompts, command starts, and command completions. Requires Shell Integration to be enabled in iTerm2.
Options
-
--modes(default [prompt,command_start,command_end]) - Monitor modes: prompt, command_start, command_end
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 prompt - Manage prompts and command history in iTerm2 sessions
- it2 prompt get - Get specific prompt details by ID
- it2 prompt list - List historical prompts in a session
- it2 prompt search - Search through command history