2022-03-12 10:29:25 +01:00
|
|
|
package main
|
|
|
|
|
2022-05-03 20:22:43 +02:00
|
|
|
import (
|
|
|
|
"fmt"
|
|
|
|
|
2022-05-12 15:54:16 +02:00
|
|
|
"git.dotya.ml/wanderer/go-xkcdreader/cmd"
|
2022-05-19 17:24:00 +02:00
|
|
|
"git.dotya.ml/wanderer/go-xkcdreader/xkcdreader"
|
2022-05-03 20:22:43 +02:00
|
|
|
)
|
|
|
|
|
2022-05-12 15:54:16 +02:00
|
|
|
var version = cmd.GetShortVersion()
|
2022-05-10 20:41:06 +02:00
|
|
|
|
2022-05-03 20:22:43 +02:00
|
|
|
func main() {
|
2022-05-12 15:54:16 +02:00
|
|
|
cmd.Execute()
|
|
|
|
|
2022-05-19 17:24:00 +02:00
|
|
|
fmt.Println("Starting " + cmd.GetAppName() + " " + version)
|
2022-05-03 20:22:43 +02:00
|
|
|
|
2022-05-19 17:24:00 +02:00
|
|
|
xkcdreader.RunApp()
|
2022-05-03 20:22:43 +02:00
|
|
|
|
|
|
|
fmt.Println("Exited")
|
|
|
|
}
|