diff --git a/README.md b/README.md index 0e168d2..cba9a34 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ NestJS Prisma Generator is a command-line tool for generating NestJS and Prisma ## Installation ```bash -npm install +npm install @gylove1994/npg -g ``` ## Usage @@ -26,7 +26,7 @@ npm install You can use the following command to generate code: ```bash -npx @gylove1994/npg +npg ``` Follow the prompts to select the type of code you want to generate, the path to your Prisma schema file, and the output directory. diff --git a/README_CN.md b/README_CN.md index 30bd0df..feec8aa 100644 --- a/README_CN.md +++ b/README_CN.md @@ -14,7 +14,7 @@ NestJS Prisma Generator 是一个用于生成 NestJS 和 Prisma 代码的命令 ## 安装 ```bash -npm install +npm install @gylove1994/npg -g ``` ## 使用方法 @@ -24,7 +24,7 @@ npm install 你可以使用以下命令来生成代码: ```bash -npx @gylove1994/npg +npg ``` 根据提示选择你要生成的代码类型、Prisma schema 文件路径和输出目录。