21 lines
287 B
Go
21 lines
287 B
Go
package main
|
|
|
|
import (
|
|
"gogs.mikescher.com/BlackForestBytes/goext/bfcodegen"
|
|
"os"
|
|
)
|
|
|
|
func main() {
|
|
dest := os.Args[2]
|
|
|
|
wd, err := os.Getwd()
|
|
if err != nil {
|
|
panic(err)
|
|
}
|
|
|
|
err = bfcodegen.GenerateEnumSpecs(wd, dest, bfcodegen.EnumGenOptions{})
|
|
if err != nil {
|
|
panic(err)
|
|
}
|
|
}
|