Files
rph/main.go
Squibid 12cefa9092 feat: inital commit
- added template subcmd which generates frc project templates
2025-10-14 23:48:14 -04:00

27 lines
380 B
Go

package main
import (
"log/slog"
"os"
"time"
"rph/state"
"rph/cmd"
"github.com/lmittmann/tint"
"github.com/mattn/go-colorable" // needed for windows :(
)
func main() {
state.Setup()
slog.SetDefault(slog.New(
tint.NewHandler(colorable.NewColorable(os.Stdout), &tint.Options{
Level: slog.LevelDebug,
TimeFormat: time.Kitchen,
}),
))
cmd.Execute()
}