@gravito/pulse 1.0.0-alpha.3 → 1.0.0-beta.5
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.zh-TW.md +33 -0
- package/dist/index.js +70389 -1237
- package/package.json +3 -3
package/README.zh-TW.md
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# Orbit Pulse
|
|
2
|
+
|
|
3
|
+
> Gravito 官方 CLI,提供專案建立、程式碼產生與開發工具。
|
|
4
|
+
|
|
5
|
+
## 安裝
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
# 全域安裝(建議)
|
|
9
|
+
bun add -g @gravito/pulse
|
|
10
|
+
|
|
11
|
+
# 或使用 bunx
|
|
12
|
+
bunx @gravito/pulse create my-app
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## 快速開始
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
# 互動式建立專案
|
|
19
|
+
gravito create my-app
|
|
20
|
+
|
|
21
|
+
# 使用模板
|
|
22
|
+
gravito create my-app --template basic
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## 常用指令
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
# 產生 Controller
|
|
29
|
+
gravito make:controller UserController
|
|
30
|
+
|
|
31
|
+
# 列出路由
|
|
32
|
+
gravito route:list
|
|
33
|
+
```
|