mirror of
https://github.com/GMGNAI/gmgn-skills.git
synced 2026-08-16 01:28:06 +00:00
docs: add upgrade tutorial section to README (en + zh)
Add section 9 "Upgrade Skills and CLI" between Supported Chains and Security, covering AI Agent prompt, CLI commands, and version check for both languages. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
committed by
GMGN.AI
co-authored by
Claude Sonnet 4.6
parent
0239e42b50
commit
58849a8c61
@@ -325,7 +325,39 @@ npx gmgn-cli order get --chain sol --order-id <order-id>
|
||||
|
||||
---
|
||||
|
||||
## 9. Security & Disclaimer
|
||||
## 9. Upgrade Skills and CLI
|
||||
|
||||
To upgrade `gmgn-cli` and Skills to the latest version:
|
||||
|
||||
**Via AI Agent (recommended)**
|
||||
|
||||
Send this to your AI agent:
|
||||
|
||||
```
|
||||
Run these two commands to update gmgn-cli and the skills:
|
||||
1. npm install -g gmgn-cli
|
||||
2. npx skills add GMGNAI/gmgn-skills
|
||||
```
|
||||
|
||||
**Via CLI**
|
||||
|
||||
```bash
|
||||
# Upgrade gmgn-cli
|
||||
npm install -g gmgn-cli
|
||||
|
||||
# Upgrade Skills
|
||||
npx skills add GMGNAI/gmgn-skills
|
||||
```
|
||||
|
||||
**Check the current version**
|
||||
|
||||
```bash
|
||||
gmgn-cli --version
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 10. Security & Disclaimer
|
||||
|
||||
**About `GMGN_PRIVATE_KEY`**
|
||||
|
||||
|
||||
+33
-1
@@ -404,7 +404,39 @@ npx gmgn-cli order get --chain sol --order-id <order-id>
|
||||
|
||||
---
|
||||
|
||||
## 9. 安全与免责
|
||||
## 9. 升级 Skills 和 CLI
|
||||
|
||||
将 `gmgn-cli` 和 Skills 升级到最新版本:
|
||||
|
||||
**方式一:通过 AI Agent(推荐)**
|
||||
|
||||
发送给你的 AI Agent:
|
||||
|
||||
```
|
||||
运行以下两条命令,更新 gmgn-cli 和 Skills 文档:
|
||||
1. npm install -g gmgn-cli
|
||||
2. npx skills add GMGNAI/gmgn-skills
|
||||
```
|
||||
|
||||
**方式二:通过 CLI**
|
||||
|
||||
```bash
|
||||
# 升级 gmgn-cli
|
||||
npm install -g gmgn-cli
|
||||
|
||||
# 升级 Skills
|
||||
npx skills add GMGNAI/gmgn-skills
|
||||
```
|
||||
|
||||
**查看当前版本号**
|
||||
|
||||
```bash
|
||||
gmgn-cli --version
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 10. 安全与免责
|
||||
|
||||
**关于 `GMGN_PRIVATE_KEY`**
|
||||
|
||||
|
||||
Reference in New Issue
Block a user