feat: better error handling for sys kill signals

This commit is contained in:
Jagadam Dinesh Reddy authored and GitHub committed 2025-07-22 08:25:21 +02:00
1 parent 21ad653b7e
commit 1582b8b2cd
28 files changed
+876 -361

No files matched your search

+2 -8
View File
@@ -1,12 +1,6 @@
package cmd
import (
"log"
)
// Execute executes the commands.
func Execute() {
if err := rootCmd.Execute(); err != nil {
log.Fatal(err)
}
func Execute() error {
return rootCmd.Execute()
}