mirror of
https://github.com/sst/opencode.git
synced 2025-08-30 09:47:25 +00:00
initial agent setup
This commit is contained in:
parent
8daa6e774a
commit
e7258e38ae
29 changed files with 2207 additions and 109 deletions
16
main.go
16
main.go
|
@ -1,11 +1,23 @@
|
|||
/*
|
||||
Copyright © 2025 NAME HERE <EMAIL ADDRESS>
|
||||
|
||||
*/
|
||||
package main
|
||||
|
||||
import "github.com/kujtimiihoxha/termai/cmd"
|
||||
import (
|
||||
"log"
|
||||
"os"
|
||||
|
||||
"github.com/kujtimiihoxha/termai/cmd"
|
||||
)
|
||||
|
||||
func main() {
|
||||
// Create a log file and make that the log output
|
||||
logfile, err := os.OpenFile("debug.log", os.O_CREATE|os.O_WRONLY|os.O_APPEND, 0o666)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
log.SetOutput(logfile)
|
||||
|
||||
cmd.Execute()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue