watchyourlan/cmd/WatchYourLAN/main.go
2024-06-30 01:17:35 +07:00

20 lines
353 B
Go

package main
import (
"flag"
_ "time/tzdata"
"github.com/aceberg/WatchYourLAN/internal/web"
)
const dirPath = "/data/WatchYourLAN"
const nodePath = ""
func main() {
dirPtr := flag.String("d", dirPath, "Path to config dir")
nodePtr := flag.String("n", nodePath, "Path to node modules")
flag.Parse()
web.Gui(*dirPtr, *nodePtr) // webgui.go
}