@cnbcool/cnb-cli 1.5.3 → 1.5.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.md +15 -2
- package/dist/index.js +35 -35
- package/package.json +4 -3
package/README.md
CHANGED
|
@@ -22,14 +22,27 @@ npx skills add https://cnb.cool/cnb/skills/cnb-skill.git --skill cnb-api --agent
|
|
|
22
22
|
使用 skills 需先安装 cnb-cli,支持以下方式:
|
|
23
23
|
|
|
24
24
|
```bash
|
|
25
|
-
#
|
|
25
|
+
# 一键安装最新版(macOS / Linux)
|
|
26
26
|
curl -fsSL https://cnb.cool/cnb/skills/cnb-skill/-/git/raw/main/install.sh | sh
|
|
27
27
|
|
|
28
|
+
# 一键安装指定版本(macOS / Linux)
|
|
29
|
+
curl -fsSL https://cnb.cool/cnb/skills/cnb-skill/-/git/raw/main/install.sh | sh -s 1.5.3
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
```powershell
|
|
33
|
+
# 一键安装最新版(Windows PowerShell)
|
|
34
|
+
irm https://cnb.cool/cnb/skills/cnb-skill/-/git/raw/main/install.ps1 | iex
|
|
35
|
+
|
|
36
|
+
# 一键安装指定版本(Windows PowerShell)
|
|
37
|
+
$v="1.5.3"; irm https://cnb.cool/cnb/skills/cnb-skill/-/git/raw/main/install.ps1 | iex
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
```bash
|
|
28
41
|
# npm 安装
|
|
29
42
|
npm install @cnbcool/cnb-cli -g
|
|
30
43
|
```
|
|
31
44
|
|
|
32
|
-
也可前往 [Releases](https://cnb.cool/cnb/skills/cnb-skill/-/releases)
|
|
45
|
+
也可前往 [Releases](https://cnb.cool/cnb/skills/cnb-skill/-/releases) 手动下载(最新版直链:`https://cnb.cool/cnb/skills/cnb-skill/-/releases/latest/download/<filename>`)。
|
|
33
46
|
|
|
34
47
|
## AI 安装提示词
|
|
35
48
|
|