main

Runs as a protocol buffer compiler plugin; reading the generation request off stdin and sending the response on stdout.

CodeGenerator.swift:166
static func main()

Instead of calling this, just add @main to your CodeGenerator.