From 1c496bb85f39f544c57a15fc95cc2a68ab6f93ac Mon Sep 17 00:00:00 2001 From: jackwener Date: Mon, 16 Mar 2026 20:18:50 +0800 Subject: [PATCH] docs: add new twitter commands (article, follow, unfollow, bookmark, unbookmark) Also update profile example to use positional argument. --- README.md | 2 +- README.zh-CN.md | 2 +- SKILL.md | 7 ++++++- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6846502..aa9c12e 100644 --- a/README.md +++ b/README.md @@ -136,7 +136,7 @@ npm install -g @jackwener/opencli@latest | **zhihu** | `hot` `search` `question` | ๐Ÿ” Browser | | **xiaohongshu** | `search` `notifications` `feed` `me` `user` | ๐Ÿ” Browser | | **xueqiu** | `feed` `hot-stock` `hot` `search` `stock` `watchlist` | ๐Ÿ” Browser | -| **twitter** | `trending` `bookmarks` `profile` `search` `timeline` `following` `followers` `notifications` `post` `reply` `delete` `like` | ๐Ÿ” Browser | +| **twitter** | `trending` `bookmarks` `profile` `search` `timeline` `following` `followers` `notifications` `post` `reply` `delete` `like` `article` `follow` `unfollow` `bookmark` `unbookmark` | ๐Ÿ” Browser | | **reddit** | `hot` `frontpage` `search` `subreddit` | ๐Ÿ” Browser | | **weibo** | `hot` | ๐Ÿ” Browser | | **boss** | `search` `detail` | ๐Ÿ” Browser | diff --git a/README.zh-CN.md b/README.zh-CN.md index fbf30a5..e2f0cbc 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -135,7 +135,7 @@ npm install -g @jackwener/opencli@latest | **zhihu** | `hot` `search` `question` | ๐Ÿ” ๆต่งˆๅ™จ | | **xiaohongshu** | `search` `notifications` `feed` `me` `user` | ๐Ÿ” ๆต่งˆๅ™จ | | **xueqiu** | `feed` `hot-stock` `hot` `search` `stock` `watchlist` | ๐Ÿ” ๆต่งˆๅ™จ | -| **twitter** | `trending` `bookmarks` `profile` `search` `timeline` `following` `followers` `notifications` `post` `reply` `delete` `like` | ๐Ÿ” ๆต่งˆๅ™จ | +| **twitter** | `trending` `bookmarks` `profile` `search` `timeline` `following` `followers` `notifications` `post` `reply` `delete` `like` `article` `follow` `unfollow` `bookmark` `unbookmark` | ๐Ÿ” ๆต่งˆๅ™จ | | **reddit** | `hot` `frontpage` `search` `subreddit` | ๐Ÿ” ๆต่งˆๅ™จ | | **weibo** | `hot` | ๐Ÿ” ๆต่งˆๅ™จ | | **boss** | `search` `detail` | ๐Ÿ” ๆต่งˆๅ™จ | diff --git a/SKILL.md b/SKILL.md index d0ddac5..01d4d8e 100644 --- a/SKILL.md +++ b/SKILL.md @@ -86,8 +86,13 @@ opencli github search --keyword "cli" # ๆœ็ดขไป“ๅบ“ opencli twitter trending --limit 10 # ็ƒญ้—จ่ฏ้ข˜ opencli twitter bookmarks --limit 20 # ่Žทๅ–ๆ”ถ่—็š„ไนฆ็ญพๆŽจๆ–‡ opencli twitter search --keyword "AI" # ๆœ็ดขๆŽจๆ–‡ -opencli twitter profile --username elonmusk # ็”จๆˆท่ต„ๆ–™ +opencli twitter profile elonmusk # ็”จๆˆท่ต„ๆ–™ opencli twitter timeline --limit 20 # ๆ—ถ้—ด็บฟ +opencli twitter article 1891511252174299446 # ๆŽจๆ–‡้•ฟๆ–‡ๅ†…ๅฎน +opencli twitter follow elonmusk # ๅ…ณๆณจ็”จๆˆท +opencli twitter unfollow elonmusk # ๅ–ๆถˆๅ…ณๆณจ +opencli twitter bookmark https://x.com/... # ๆ”ถ่—ๆŽจๆ–‡ +opencli twitter unbookmark https://x.com/... # ๅ–ๆถˆๆ”ถ่— # Reddit (browser) opencli reddit hot --limit 10 # ็ƒญ้—จๅธ–ๅญ