mock-service-cli 4.7.0 → 4.8.0
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 +15 -1
- package/bin/mock-service-cli.cmd +2 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -32,15 +32,29 @@
|
|
|
32
32
|
### 全局安装
|
|
33
33
|
|
|
34
34
|
```bash
|
|
35
|
+
# npm
|
|
35
36
|
npm install --global mock-service-cli
|
|
36
|
-
|
|
37
|
+
|
|
38
|
+
# Homebrew (macOS / Linux)
|
|
39
|
+
brew tap chandq/tap
|
|
37
40
|
brew install mock-service-cli
|
|
41
|
+
|
|
42
|
+
# Scoop (Windows)
|
|
43
|
+
scoop bucket add chandq https://github.com/chandq/scoop-bucket
|
|
44
|
+
scoop install mock-service-cli
|
|
45
|
+
|
|
46
|
+
# Nix (Linux / macOS)
|
|
47
|
+
nix run github:chandq/mock-service-cli -- --help # 临时运行
|
|
48
|
+
nix profile install github:chandq/mock-service-cli # 安装到 profile
|
|
38
49
|
```
|
|
39
50
|
|
|
40
51
|
需要 RAR、7z、bzip2、xz 等高级归档格式时,安装 Ultra 版。它与轻量版使用相同的命令,不能同时全局安装:
|
|
41
52
|
|
|
42
53
|
```bash
|
|
43
54
|
npm install --global mock-service-cli-ultra
|
|
55
|
+
# Homebrew / Scoop 对应 Ultra 包名:mock-service-cli-ultra
|
|
56
|
+
brew tap chandq/tap && brew install mock-service-cli-ultra
|
|
57
|
+
scoop bucket add chandq https://github.com/chandq/scoop-bucket && scoop install mock-service-cli-ultra
|
|
44
58
|
```
|
|
45
59
|
|
|
46
60
|
### 局部安装
|