TheMathemagicians/sevenkeys/main.go

19 lines
252 B
Go
Raw Normal View History

2024-05-28 14:29:13 +00:00
package main
import (
2024-06-10 15:34:16 +00:00
"sevenkeys/cli"
2024-06-10 12:32:45 +00:00
"sevenkeys/database"
2024-06-10 15:34:16 +00:00
"sevenkeys/figlet"
2024-05-28 14:29:13 +00:00
)
func main() {
2024-06-10 15:34:16 +00:00
db := database.GetDatabaseFromConfig("config.json")
2024-06-10 12:32:45 +00:00
2024-09-05 11:22:02 +00:00
figlet.ReadFigletFonts()
2024-06-10 15:34:16 +00:00
cli.ShowSplashScreen()
2024-06-10 12:32:45 +00:00
2024-06-10 15:34:16 +00:00
cli.RunUpdateCheck(db)
2024-05-28 14:29:13 +00:00
2024-06-11 09:57:02 +00:00
cli.MainCliLoop(db)
2024-05-28 14:29:13 +00:00
}