Bootstraps the service configuration for a new Prisma service. The command launches an interactive CLI wizard by default, helping you to decide where (i.e. to which Prisma server) the service should be deployed later.
If you already know the endpoint, you can pass it using the
--endpoint flag and skip the interactive wizard.
The generated files are:
If you provide a directory name as an argument to the command, the generated files will be placed inside a new directory with that name.
-e, --endpoint The endpoint to be written into prisma.yml
prisma init DIRNAME
Create service configuration for Prisma service in a directory called
myapp using the wizard
prisma init myapp
Skip wizard and create service configuration for Prisma service in a directory called
prisma init myapp --endpoint http://localhost:4466/myapp/dev