tss/main.go

19 lines
293 B
Go
Raw Normal View History

2022-04-26 09:55:59 -04:00
package main
import (
2022-05-01 23:28:54 -04:00
"flag"
"go.balki.me/tss/app"
2022-06-12 18:46:16 -04:00
"go.balki.me/tss/log"
"go.balki.me/tss/schedule"
2022-04-26 09:55:59 -04:00
)
func main() {
2022-06-12 18:46:16 -04:00
schedule.SetLogger(log.GLogr)
2022-05-01 23:28:54 -04:00
var configPath string
flag.StringVar(&configPath, "config", "./tss.yml", "path to tss.yml config")
flag.Parse()
app.Run(configPath)
2022-04-26 09:55:59 -04:00
}