Add git hooks support and refactor info command

This commit is contained in:
Steve Yegge
2025-11-06 15:00:15 -08:00
parent c4eddf0de4
commit 991c6248ca
5 changed files with 118 additions and 0 deletions

View File

@@ -196,6 +196,14 @@ Examples:
}
}
// Check git hooks status
hookStatuses, err := CheckGitHooks()
if err == nil {
if warning := FormatHookWarnings(hookStatuses); warning != "" {
fmt.Printf("\n%s\n", warning)
}
}
fmt.Println()
},
}