LocalhostBunny/_gen/enum-generate.go

21 lines
259 B
Go
Raw Normal View History

2023-12-01 09:56:06 +01:00
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)
if err != nil {
panic(err)
}
}