@@ -532,20 +532,37 @@ func displayTableStats(stats *StatsCollector) {
532
532
}
533
533
fmt .Println (bot )
534
534
535
- // Print summary row
536
- fmt .Printf ("\n Summary: Processed %d repos | Combined: %d | Skipped (MC): %d | Skipped (DNM): %d | Time: %s\n " ,
535
+ // Print summary mini-table
536
+ summaryTop := "╭───────────────┬───────────┬──────────────┬──────────────┬──────────────╮"
537
+ summaryHead := "│ Repos │ Combined │ Skipped (MC) │ Skipped (DNM)│ Time │"
538
+ summarySep := "├──────────────┼───────────┼──────────────┼──────────────┼──────────────┤"
539
+ summaryRow := fmt .Sprintf (
540
+ "│ %-11d │ %-9d │ %-12d │ %-12d │ %-12s │" ,
537
541
stats .ReposProcessed ,
538
542
stats .PRsCombined ,
539
543
stats .PRsSkippedMergeConflict ,
540
544
stats .PRsSkippedCriteria ,
541
545
stats .EndTime .Sub (stats .StartTime ).Round (time .Second ),
542
546
)
543
-
544
- // Print PR links block
547
+ summaryBot := "╰──────────────┴───────────┴──────────────┴──────────────┴──────────────╯"
548
+ fmt .Println ()
549
+ fmt .Println (summaryTop )
550
+ fmt .Println (summaryHead )
551
+ fmt .Println (summarySep )
552
+ fmt .Println (summaryRow )
553
+ fmt .Println (summaryBot )
554
+
555
+ // Print PR links block (blue color)
545
556
if len (stats .CombinedPRLinks ) > 0 {
557
+ blue := "\033 [34m"
558
+ reset := "\033 [0m"
546
559
fmt .Println ("\n Links to Combined PRs:" )
547
560
for _ , link := range stats .CombinedPRLinks {
548
- fmt .Println ("-" , link )
561
+ if noColor {
562
+ fmt .Println ("-" , link )
563
+ } else {
564
+ fmt .Printf ("- %s%s%s\n " , blue , link , reset )
565
+ }
549
566
}
550
567
}
551
568
}
0 commit comments