Skip to content

Commit 847c831

Browse files
authored
fix(twitter): register lists command in manifest (#1011)
1 parent 741bcf9 commit 847c831

4 files changed

Lines changed: 37 additions & 2 deletions

File tree

README.zh-CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ npm link
187187

188188
| 站点 | 命令 | 模式 |
189189
|------|------|------|
190-
| **twitter** | `trending` `search` `timeline` `lists` `bookmarks` `profile` `thread` `following` `followers` `notifications` `post` `reply` `delete` `like` `article` `follow` `unfollow` `bookmark` `unbookmark` `download` `accept` `reply-dm` `block` `unblock` `hide-reply` | 浏览器 |
190+
| **twitter** | `trending` `search` `timeline` `lists` `bookmarks` `profile` `thread` `following` `followers` `notifications` `post` `reply` `delete` `like` `likes` `article` `follow` `unfollow` `bookmark` `unbookmark` `download` `accept` `reply-dm` `block` `unblock` `hide-reply` | 浏览器 |
191191
| **reddit** | `hot` `frontpage` `popular` `search` `subreddit` `read` `user` `user-posts` `user-comments` `upvote` `save` `comment` `subscribe` `saved` `upvoted` | 浏览器 |
192192
| **tieba** | `hot` `posts` `search` `read` | 浏览器 |
193193
| **hupu** | `hot` `search` `detail` `mentions` `reply` `like` `unlike` | 浏览器 |

cli-manifest.json

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13415,6 +13415,39 @@
1341513415
"modulePath": "twitter/likes.js",
1341613416
"sourceFile": "twitter/likes.js"
1341713417
},
13418+
{
13419+
"site": "twitter",
13420+
"name": "lists",
13421+
"description": "Get Twitter/X lists for a user",
13422+
"domain": "x.com",
13423+
"strategy": "cookie",
13424+
"browser": true,
13425+
"args": [
13426+
{
13427+
"name": "user",
13428+
"type": "string",
13429+
"required": false,
13430+
"positional": true,
13431+
"help": ""
13432+
},
13433+
{
13434+
"name": "limit",
13435+
"type": "int",
13436+
"default": 50,
13437+
"required": false,
13438+
"help": ""
13439+
}
13440+
],
13441+
"columns": [
13442+
"name",
13443+
"members",
13444+
"followers",
13445+
"mode"
13446+
],
13447+
"type": "js",
13448+
"modulePath": "twitter/lists.js",
13449+
"sourceFile": "twitter/lists.js"
13450+
},
1341813451
{
1341913452
"site": "twitter",
1342013453
"name": "notifications",

docs/adapters/browser/twitter.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
| `opencli twitter reply` | |
2020
| `opencli twitter delete` | |
2121
| `opencli twitter like` | |
22+
| `opencli twitter likes` | |
23+
| `opencli twitter lists` | |
2224
| `opencli twitter article` | |
2325
| `opencli twitter follow` | |
2426
| `opencli twitter unfollow` | |

docs/adapters/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Run `opencli list` for the live registry.
66

77
| Site | Commands | Mode |
88
| ---------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------- |
9-
| **[twitter](./browser/twitter.md)** | `trending` `bookmarks` `profile` `search` `timeline` `thread` `following` `followers` `notifications` `post` `reply` `delete` `like` `likes` `article` `follow` `unfollow` `bookmark` `unbookmark` `download` `accept` `reply-dm` `block` `unblock` `hide-reply` | 🔐 Browser |
9+
| **[twitter](./browser/twitter.md)** | `trending` `bookmarks` `profile` `search` `timeline` `thread` `following` `followers` `notifications` `post` `reply` `delete` `like` `likes` `lists` `article` `follow` `unfollow` `bookmark` `unbookmark` `download` `accept` `reply-dm` `block` `unblock` `hide-reply` | 🔐 Browser |
1010
| **[reddit](./browser/reddit.md)** | `hot` `frontpage` `popular` `search` `subreddit` `read` `user` `user-posts` `user-comments` `upvote` `save` `comment` `subscribe` `saved` `upvoted` | 🔐 Browser |
1111
| **[tieba](./browser/tieba.md)** | `hot` `posts` `search` `read` | 🔐 Browser |
1212
| **[hupu](./browser/hupu.md)** | `hot` `search` `detail` `mentions` `reply` `like` `unlike` | 🌐 / 🔐 |

0 commit comments

Comments
 (0)