Skip to content

Commit bf63df7

Browse files
committed
add total prs
1 parent 15cc8f6 commit bf63df7

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

internal/cmd/root.go

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -533,18 +533,19 @@ func displayTableStats(stats *StatsCollector) {
533533
fmt.Println(bot)
534534

535535
// Print summary mini-table with proper padding
536-
summaryTop := "╭───────────────┬─────────────┬───────────────┬───────────────┬───────────────╮"
537-
summaryHead := "│ Repos │ Combined │ Skipped (MC) │ Skipped (DNM) │ Time │"
538-
summarySep := "├───────────────┼─────────────┼───────────────┼───────────────┼───────────────┤"
536+
summaryTop := "╭───────────────┬─────────────┬───────────────┬───────────────┬───────────────┬──────────────────────╮"
537+
summaryHead := "│ Repos │ Combined │ Skipped (MC) │ Skipped (DNM) │ Time │ Total PRs │"
538+
summarySep := "├───────────────┼─────────────┼───────────────┼───────────────┼───────────────┼──────────────────────┤"
539539
summaryRow := fmt.Sprintf(
540-
"│ %-13d │ %-11d │ %-13d │ %-13d │ %-13s │",
540+
"│ %-13d │ %-11d │ %-13d │ %-13d │ %-13s │ %-20d │",
541541
stats.ReposProcessed,
542542
stats.PRsCombined,
543543
stats.PRsSkippedMergeConflict,
544544
stats.PRsSkippedCriteria,
545545
stats.EndTime.Sub(stats.StartTime).Round(time.Second),
546+
len(stats.CombinedPRLinks),
546547
)
547-
summaryBot := "╰───────────────┴─────────────┴───────────────┴───────────────┴───────────────╯"
548+
summaryBot := "╰───────────────┴─────────────┴───────────────┴───────────────┴───────────────┴──────────────────────╯"
548549
fmt.Println()
549550
fmt.Println(summaryTop)
550551
fmt.Println(summaryHead)

0 commit comments

Comments
 (0)