dorfylegends/analyze/analyze.go
Robert Janetzko 757b7c6b79 bugfix fields
2022-04-14 17:06:52 +00:00

22 lines
289 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.AnalyzeStructure(*a)
}
if *g {
df.Generate()
}
}