it2 notification subscribe
Subscribe to iTerm2 notifications
Synopsis
it2 notification subscribe <type> [<session-id>] [flags]
Description
Subscribe to specific notification types with optional session targeting
Options
-
-j,--json - Output notifications in JSON format
-
--timestamps (default true) - Include timestamps in output
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 notification - Subscribe to iTerm2 notifications
- it2 notification list-types - List available notification types
- it2 notification monitor - Monitor notifications in real-time
- it2 notification status - Show notification subscription status
- it2 notification test - Test notification functionality
- it2 notification unsubscribe - Unsubscribe from iTerm2 notifications