mirror of
https://github.com/BigJk/end_of_eden.git
synced 2026-02-06 10:48:09 +00:00
23 lines
313 B
Go
23 lines
313 B
Go
package main
|
|
|
|
import "flag"
|
|
|
|
const (
|
|
TypeAPI = "api"
|
|
TypeGameContent = "game_content"
|
|
)
|
|
|
|
func main() {
|
|
t := flag.String("type", "api", "api,game_content")
|
|
flag.Parse()
|
|
|
|
switch *t {
|
|
case TypeAPI:
|
|
buildAPIDocs()
|
|
case TypeGameContent:
|
|
buildGameContentDocs()
|
|
default:
|
|
panic("unknown type")
|
|
}
|
|
}
|