gorig-cli 1.0.6 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@ npm install -g gorig-cli
|
|
|
13
13
|
或者使用 npx 直接运行:
|
|
14
14
|
|
|
15
15
|
```sh
|
|
16
|
-
npx gorig-cli <command>
|
|
16
|
+
npx gorig-cli@latest <command>
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
## 快速开始
|
|
@@ -29,7 +29,7 @@ gorig-cli init my-new-project
|
|
|
29
29
|
或者使用 npx:
|
|
30
30
|
|
|
31
31
|
```sh
|
|
32
|
-
npx gorig-cli init my-new-project
|
|
32
|
+
npx gorig-cli@latest init my-new-project
|
|
33
33
|
```
|
|
34
34
|
|
|
35
35
|
这将在当前目录下创建一个新项目,包含 `_cmd/main.go`、`domain/init.go`、`cron/cron.go` 等基本文件和目录。
|
|
@@ -45,7 +45,7 @@ gorig-cli create user
|
|
|
45
45
|
或者使用 npx:
|
|
46
46
|
|
|
47
47
|
```sh
|
|
48
|
-
npx gorig-cli create user
|
|
48
|
+
npx gorig-cli@latest create user
|
|
49
49
|
```
|
|
50
50
|
|
|
51
51
|
这将在项目中创建一个名为 `user` 的模块,包含 `api/`、`internal/`、`model/` 等文件夹和必要的代码。
|