feat(lists): add support for Twitter Lists

Add commands to fetch owned lists, list memberships, and list timelines:
- `bird lists` shows lists you own
- `bird lists --member-of` shows lists you're a member of
- `bird list-timeline <id-or-url>` fetches tweets from a list

Includes full --json and --json-full support for list timeline output.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
This commit is contained in:
Harper Reed
2026-01-03 16:55:29 +01:00
committed by Peter Steinberger
co-authored by Claude Opus 4.5
parent 3db3aca0a0
commit 7818440d65
9 changed files with 1141 additions and 2 deletions
+4
View File
@@ -2,6 +2,7 @@ import { Command } from 'commander';
import { registerBookmarksCommand } from '../commands/bookmarks.js';
import { registerCheckCommand } from '../commands/check.js';
import { registerHelpCommand } from '../commands/help.js';
import { registerListsCommand } from '../commands/lists.js';
import { registerPostCommands } from '../commands/post.js';
import { registerQueryIdsCommand } from '../commands/query-ids.js';
import { registerReadCommands } from '../commands/read.js';
@@ -23,6 +24,8 @@ export const KNOWN_COMMANDS = new Set([
'following',
'followers',
'likes',
'lists',
'list-timeline',
'help',
'whoami',
'check',
@@ -124,6 +127,7 @@ export function createProgram(ctx: CliContext): Command {
registerReadCommands(program, ctx);
registerSearchCommands(program, ctx);
registerBookmarksCommand(program, ctx);
registerListsCommand(program, ctx);
registerUserCommands(program, ctx);
registerCheckCommand(program, ctx);