Add newt version on startup

This commit is contained in:
Owen
2025-06-05 22:40:39 -04:00
parent ef2f25ef98
commit 5280c7ccda

View File

@@ -400,9 +400,12 @@ func main() {
flag.Parse()
newtVersion := "Newt version replaceme"
if *version {
fmt.Println("Newt version replaceme")
fmt.Println(newtVersion)
os.Exit(0)
} else {
logger.Info(newtVersion)
}
logger.Init()