Skip to content

Commit 5ee1016

Browse files
committed
fix
1 parent c3a7eac commit 5ee1016

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

internal/cmd/root.go

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,17 @@ func displayStatsSummary(stats *StatsCollector, outputFormat string) {
421421
}
422422

423423
func displayTableStats(stats *StatsCollector) {
424+
// ANSI color helpers
425+
green := "\033[32m"
426+
yellow := "\033[33m"
427+
reset := "\033[0m"
428+
colorize := func(s, color string) string {
429+
if noColor {
430+
return s
431+
}
432+
return color + s + reset
433+
}
434+
424435
// Find max repo name length
425436
maxRepoLen := len("Repository")
426437
for _, repoStat := range stats.PerRepoStats {

0 commit comments

Comments
 (0)