INNER CODE UNIT · Go
main
nhost/hasura-auth · main.go:61
func main() {
serveCmd := cmd.CommandServe()
app := &cli.Command{ //nolint:exhaustruct
Name: "auth",
Version: Version,
Usage: "Nhost Auth API server",
Flags: serveCmd.Flags,
Commands: []*cli.Command{
markdownDocs(),
},
Action: serveCmd.Action,
}
if err := app.Run(context.Background(), os.Args); err != nil {
log.Fatal(err)
}
}