This commit is contained in:
2026-02-05 04:04:09 +08:00
commit 887204f230
5 changed files with 57 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
node_modules

14
package.json Normal file
View File

@@ -0,0 +1,14 @@
{
"name": "update-cli-skill",
"version": "0.0.1",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "abearxiong <xiongxiao@xiongxiao.me> (https://www.xiongxiao.me)",
"license": "MIT",
"packageManager": "pnpm@10.14.0",
"type": "module"
}

13
run.md Normal file
View File

@@ -0,0 +1,13 @@
执行当前的技能,更新的地址服务器是这些
- xionmi
- xiaomi
- light
- library
- on
- pro
- aliyun
- kevisual
- envision
- zxj

15
skills/update/SKILL.md Normal file
View File

@@ -0,0 +1,15 @@
---
name: Update CLI Skill
description: 关于更新边缘运行环境的 cli 的工具,直接在服务器上执行更新命令,并重启。
---
需要对应的服务器地址比如light。
第一步, 执行更新
```bash
ssh light "npm i -g @kevisual/cli"
```
第二步, 重启服务
```bash
ssh light "pm2 restart all"
```

14
skills/update/server.md Normal file
View File

@@ -0,0 +1,14 @@
- xion
- diana-local
- xionmi
- xiaomi
- light
- library
- on
- pro
- aliyun
- kevisual
- envision
- zxj