2025-03-24 02:19:08 +08:00
|
|
|
package main
|
|
|
|
|
|
2025-03-24 05:25:31 +08:00
|
|
|
import (
|
2025-04-17 03:48:29 +08:00
|
|
|
"github.com/kujtimiihoxha/opencode/cmd"
|
|
|
|
|
"github.com/kujtimiihoxha/opencode/internal/logging"
|
2025-03-24 05:25:31 +08:00
|
|
|
)
|
2025-03-24 02:19:08 +08:00
|
|
|
|
|
|
|
|
func main() {
|
2025-04-17 02:06:23 +08:00
|
|
|
defer logging.RecoverPanic("main", func() {
|
|
|
|
|
logging.ErrorPersist("Application terminated due to unhandled panic")
|
|
|
|
|
})
|
2025-04-17 06:00:19 +08:00
|
|
|
|
2025-03-24 02:19:08 +08:00
|
|
|
cmd.Execute()
|
|
|
|
|
}
|