tss/main.go

19 lines
293 B
Go

package main
import (
"flag"
"go.balki.me/tss/app"
"go.balki.me/tss/log"
"go.balki.me/tss/schedule"
)
func main() {
schedule.SetLogger(log.GLogr)
var configPath string
flag.StringVar(&configPath, "config", "./tss.yml", "path to tss.yml config")
flag.Parse()
app.Run(configPath)
}