SuperCoder/main.go

17 lines
370 B
Go
Raw Normal View History

2025-03-23 19:19:08 +01:00
package main
2025-03-23 22:25:31 +01:00
import (
2025-04-16 21:48:29 +02:00
"github.com/kujtimiihoxha/opencode/cmd"
"github.com/kujtimiihoxha/opencode/internal/logging"
2025-03-23 22:25:31 +01:00
)
2025-03-23 19:19:08 +01:00
func main() {
// Set up panic recovery for the main function
defer logging.RecoverPanic("main", func() {
// Perform any necessary cleanup before exit
logging.ErrorPersist("Application terminated due to unhandled panic")
})
2025-03-23 19:19:08 +01:00
cmd.Execute()
}