docs: add upgrade instructions to README and SKILL.md
This commit is contained in:
18
README.md
18
README.md
@@ -59,6 +59,15 @@ uv tool install twitter-cli
|
|||||||
pipx install twitter-cli
|
pipx install twitter-cli
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Upgrade to the latest version:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
uv tool upgrade twitter-cli
|
||||||
|
# Or: pipx upgrade twitter-cli
|
||||||
|
```
|
||||||
|
|
||||||
|
> **Tip:** Upgrade regularly to avoid unexpected errors from outdated API handling.
|
||||||
|
|
||||||
Install from source:
|
Install from source:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
@@ -333,6 +342,15 @@ After installation, OpenClaw can call `twitter-cli` commands directly.
|
|||||||
uv tool install twitter-cli
|
uv tool install twitter-cli
|
||||||
```
|
```
|
||||||
|
|
||||||
|
升级到最新版本:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
uv tool upgrade twitter-cli
|
||||||
|
# 或:pipx upgrade twitter-cli
|
||||||
|
```
|
||||||
|
|
||||||
|
> **提示:** 建议定期升级,避免因版本过旧导致的 API 调用异常。
|
||||||
|
|
||||||
### 使用指南
|
### 使用指南
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
4
SKILL.md
4
SKILL.md
@@ -22,6 +22,10 @@ tags:
|
|||||||
# Install (requires Python 3.8+)
|
# Install (requires Python 3.8+)
|
||||||
uv tool install twitter-cli
|
uv tool install twitter-cli
|
||||||
# Or: pipx install twitter-cli
|
# Or: pipx install twitter-cli
|
||||||
|
|
||||||
|
# Upgrade to latest (recommended to avoid API errors)
|
||||||
|
uv tool upgrade twitter-cli
|
||||||
|
# Or: pipx upgrade twitter-cli
|
||||||
```
|
```
|
||||||
|
|
||||||
## Authentication
|
## Authentication
|
||||||
|
|||||||
Reference in New Issue
Block a user