it2 window get-title
Get the title of a window
Synopsis
it2 window get-title [<window-id>] [flags]
Description
Get the title of a window. If no window ID is provided, uses the current window.
Options
-
--format(default "table") - Output format (table|json|yaml|text)
-
--timeout(default "5s") - Command timeout
-
--url(default "ws://localhost:1912") - iTerm2 WebSocket URL
See Also
- it2 window - Manage iTerm2 windows or navigate to window context
- it2 window clear-title - Clear the title of a window
- it2 window close - Close a window
- it2 window create - Create a new window
- it2 window current - Show the current window ID
- it2 window focus - Focus/activate a window
- it2 window get-property - Get a window property
- it2 window list - List all iTerm2 windows
- it2 window set-property - Set a window property
- it2 window set-title - Set the title of a window
- it2 window tree - Show split tree structure for a window