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

size

Categorize pending PRs by size — XS, S, M, L, XL.

Estimate review effort before you start.

Size Buckets

SizeLines Changed
XS1-50
S51-200
M201-500
L501-1000
XL1001+

Synopsis

prctrl size [OPTIONS]

Options

FlagDescriptionDefault
-f, --filter-size <SIZES>Show only specific size(s): XS, S, M, L, XL (comma-separated)All sizes
-g, --groupedGroup output by size bucketfalse
-P, --priorityShow priority scores (1-5 stars based on age and size)false
--repo <REPO>Filter by repository name (partial match, case-insensitive)All repos
--author <AUTHOR>Filter by author username (partial match, case-insensitive)All authors
-s, --since-days <DAYS>Only show PRs created since this many days agoAll PRs
--jsonOutput as JSON for scriptingfalse

Examples

# Show all PRs by size
prctrl size

# Group by size bucket with headers
prctrl size --grouped

# Show only small and medium PRs
prctrl size --filter-size S,M

# Show XS PRs with priority scores
prctrl size --filter-size XS --priority

# Filter by repository
prctrl size --repo myservice

# Filter by author
prctrl size --author johndoe

# Show only recent PRs (last 7 days)
prctrl size --since-days 7

# JSON output for scripting
prctrl size --json