it2 badge get
Get the current badge for a session
Synopsis
it2 badge get [<session-id>] [flags]
Description
Get the current badge for a session. If no session-id is provided,
uses $ITERM_SESSION_ID environment variable.
Examples:
it2 badge get # Get badge for current session
it2 badge get session123 # Get specific session's badge
it2 badge get --format json # Output as JSON
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 badge - Manage session badges
- it2 badge clear - Clear the badge for a session
- it2 badge list - List all sessions with their badges
- it2 badge set - Set a badge for a session