ketotrack/cmd/cli/main.go

19 lines
300 B
Go
Raw Permalink Normal View History

2024-05-12 20:05:05 +00:00
package main
import (
"fmt"
"ketotrack/config"
"ketotrack/data"
"ketotrack/ui/cli"
)
func main() {
appConfig := config.Load()
appCtx, err := data.NewContext(appConfig.DataPath)
if err != nil {
fmt.Printf("Error initializing application context: %s\n", err)
return
}
cli.Run(&appCtx)
}