mirror of
https://github.com/sst/opencode.git
synced 2025-07-08 00:25:00 +00:00
15 lines
289 B
Go
15 lines
289 B
Go
package main
|
|
|
|
import (
|
|
"github.com/sst/opencode/cmd"
|
|
"github.com/sst/opencode/internal/logging"
|
|
"github.com/sst/opencode/internal/status"
|
|
)
|
|
|
|
func main() {
|
|
defer logging.RecoverPanic("main", func() {
|
|
status.Error("Application terminated due to unhandled panic")
|
|
})
|
|
|
|
cmd.Execute()
|
|
}
|