Files
svg-templater/cmd/svg-templater/main.go
2026-02-03 00:29:08 +01:00

20 lines
351 B
Go

package main
import (
"log"
"tomatentum.net/svg-templater/internal/command"
"tomatentum.net/svg-templater/internal/database"
)
func main() {
if err := database.OpenSQLite(); err != nil {
log.Fatal("Failed opening DB:\n", err)
return
}
defer database.Close()
database.InitDB()
command.PrepareCommandLine()
command.HandleCommandline()
}