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() {
|
2025-04-16 20:06:23 +02:00
|
|
|
defer logging.RecoverPanic("main", func() {
|
|
|
|
|
logging.ErrorPersist("Application terminated due to unhandled panic")
|
|
|
|
|
})
|
2025-04-17 00:00:19 +02:00
|
|
|
|
2025-03-23 19:19:08 +01:00
|
|
|
cmd.Execute()
|
|
|
|
|
}
|