INNER CODE UNIT · Go

main

xataio/xata · services/auth/cmd/main.go:12

func main() {
	svc := auth.NewAuthService()
	cmd := cmd.RootCmdForService(svc)
	cmd.AddCommand(devuser.CreateDevUserCmd())
	cmd.AddCommand(devuser.CreateDevAPIKeyCmd())

	if err := cmd.Execute(); err != nil {
		fmt.Println(err) //nolint:forbidigo
		os.Exit(1)
	}
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…