22 lines
289 B
Go
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()
|
|
}
|
|
}
|