dorfylegends/analyze/analyze.go
Robert Janetzko a9f3597edf restructure
2022-04-14 15:39:18 +00:00

22 lines
280 B
Go

package main
import (
"flag"
"github.com/robertjanetzko/LegendsBrowser2/analyze/df"
)
func main() {
a := flag.String("a", "", "analyze a file")
g := flag.Bool("g", false, "generate model")
flag.Parse()
if len(*a) > 0 {
df.Analyze(*a)
}
if *g {
df.Generate()
}
}