vegvisir/main.go

26 lines
575 B
Go
Raw Normal View History

2021-07-08 22:21:07 +02:00
package main
// ___ ____ ___ ___
// \ \ / / | _ | __| \ \ / / || | __ || || _ |
// \ \/ / |___ | |__ \ \/ / || |___ || ||___|
// \ / | _ | _ | \ / || __ | || ||\\
// \/ |___ |___ | \/ || ____| || || \\
// Copyright (c) 2021 Piotr Biernat. https://pbiernat.dev. MIT License
// Repo: https://git.pbiernat.dev/golang/vegvisir
2021-07-08 22:32:49 +02:00
import (
"flag"
2021-07-08 22:32:49 +02:00
"vegvisir/server"
)
var (
cFile = flag.String("c", "vegvisir.json", "Path to config file")
)
2021-07-08 22:21:07 +02:00
func main() {
flag.Parse()
server.NewServer(*cFile).Run()
2021-07-08 22:21:07 +02:00
}