mirror of https://github.com/jackwener/wx-cli.git
docs: use --query instead of -q for clarity
parent
e4bfc39c8f
commit
3473f47d1d
12
README.md
12
README.md
|
|
@ -125,14 +125,14 @@ sudo wx init
|
|||
wx init
|
||||
```
|
||||
|
||||
之后直接用,daemon 会在首次调用时自动启动:
|
||||
验证安装:
|
||||
|
||||
```bash
|
||||
wx sessions # 查看最近会话
|
||||
wx history "张三" # 查看聊天记录
|
||||
wx search "Claude" # 搜索消息
|
||||
wx sessions
|
||||
```
|
||||
|
||||
能看到最近会话即表示一切正常。daemon 在首次调用时自动启动。
|
||||
|
||||
---
|
||||
|
||||
## 命令
|
||||
|
|
@ -153,7 +153,7 @@ wx search "会议" --in "工作群" --since 2026-01-01
|
|||
|
||||
```bash
|
||||
wx contacts # 联系人列表
|
||||
wx contacts -q "李" # 按名字搜索
|
||||
wx contacts --query "李" # 按名字搜索
|
||||
wx members "AI交流群" # 群成员列表
|
||||
```
|
||||
|
||||
|
|
@ -162,7 +162,7 @@ wx members "AI交流群" # 群成员列表
|
|||
```bash
|
||||
wx favorites # 全部收藏
|
||||
wx favorites --type image # 按类型筛选(text/image/article/card/video)
|
||||
wx favorites -q "关键词" # 搜索收藏内容
|
||||
wx favorites --query "关键词" # 搜索收藏内容
|
||||
wx stats "AI群" # 聊天统计
|
||||
wx stats "AI群" --since 2026-01-01 # 指定时间范围
|
||||
```
|
||||
|
|
|
|||
8
SKILL.md
8
SKILL.md
|
|
@ -121,7 +121,7 @@ wx search "会议" --in "工作群" --since 2026-01-01
|
|||
```bash
|
||||
# 联系人列表 / 搜索
|
||||
wx contacts
|
||||
wx contacts -q "李"
|
||||
wx contacts --query "李"
|
||||
|
||||
# 群成员列表
|
||||
wx members "AI交流群"
|
||||
|
|
@ -137,7 +137,7 @@ wx favorites
|
|||
wx favorites --type image
|
||||
|
||||
# 搜索收藏内容
|
||||
wx favorites -q "关键词"
|
||||
wx favorites --query "关键词"
|
||||
|
||||
# 聊天统计(发言人、消息类型、活跃时段)
|
||||
wx stats "AI群"
|
||||
|
|
@ -175,7 +175,7 @@ wx search "关键词" --json
|
|||
wx history "张三" --json -n 50
|
||||
```
|
||||
|
||||
CHAT 参数支持昵称、备注名、微信 ID,模糊匹配。不确定准确名称时,先用 `wx contacts -q` 搜索。
|
||||
CHAT 参数支持昵称、备注名、微信 ID,模糊匹配。不确定准确名称时,先用 `wx contacts --query` 搜索。
|
||||
|
||||
---
|
||||
|
||||
|
|
@ -198,4 +198,4 @@ CHAT 参数支持昵称、备注名、微信 ID,模糊匹配。不确定准确
|
|||
|
||||
**daemon 无响应**:`wx daemon stop` 后重新调用任意命令自动重启。
|
||||
|
||||
**找不到聊天**:用 `wx contacts -q` 确认昵称/备注名,或用微信 ID 直接查询。
|
||||
**找不到聊天**:用 `wx contacts --query` 确认昵称/备注名,或用微信 ID 直接查询。
|
||||
|
|
|
|||
Loading…
Reference in New Issue