Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

mentions

Show GitHub notifications where you were mentioned or directly involved.

Stay on top of conversations without opening GitHub.

Note: The --author filter now properly fetches and matches against the PR author’s username.

When to Use

  • Morning check: “Any mentions while I was offline?”
  • Follow-up: “What threads am I in?”
  • Check for activity on a specific PR

Synopsis

prctrl mentions [OPTIONS]

Options

FlagDescriptionDefault
-u, --unreadOnly show unread notificationsfalse
-n, --limit <NUM>Limit results shown20
-p, --pr <NUM>Filter to specific PR numberall
-s, --since-days <DAYS>Only show notifications from the last N daysall
--repo <PATTERN>Filter by repository name (partial match, case-insensitive)all
--author <PATTERN>Filter by author username (partial match, case-insensitive)all
-P, --priorityShow priority scores (1-5 stars based on age)false
--jsonOutput as JSON for scriptingfalse

Examples

# Show all notifications
prctrl mentions

# Show only unread notifications
prctrl mentions --unread

# Check notifications for a specific PR
prctrl mentions --pr 123

# Combine with unread filter
prctrl mentions --pr 123 --unread

# Only show notifications from the last 3 days
prctrl mentions --since-days 3

# Filter by repository and time window
prctrl mentions --repo myorg --since-days 7

# Filter by author username
prctrl mentions --author johndoe

# Show priority scores for urgent notifications
prctrl mentions --priority

# Combine filters with priority
prctrl mentions --repo myorg --priority --since-days 3

# JSON output for scripting
prctrl mentions --json