test: cover bookmarks

This commit is contained in:
Peter Steinberger
2025-12-31 12:04:24 +01:00
parent 9c553e46bf
commit 2ba0eff1e6
4 changed files with 82 additions and 1 deletions
+5 -1
View File
@@ -48,6 +48,9 @@ bird search "from:steipete" -n 5
bird mentions -n 5
bird mentions --user @steipete -n 5
# Bookmarks
bird bookmarks -n 5
# Refresh GraphQL query IDs cache (no rebuild)
bird query-ids --fresh
```
@@ -64,6 +67,7 @@ bird query-ids --fresh
- `bird thread <tweet-id-or-url> [--json]` — show the full conversation thread.
- `bird search "<query>" [-n count] [--json]` — search for tweets matching a query.
- `bird mentions [-n count] [--user @handle] [--json]` — find tweets mentioning a user (defaults to the authenticated user).
- `bird bookmarks [-n count] [--json]` — list your bookmarked tweets.
- `bird whoami` — print which Twitter account your cookies belong to.
- `bird check` — show which credentials are available and where they were sourced from.
@@ -117,7 +121,7 @@ Environment shortcuts:
## Output
- `--json` prints raw tweet objects for read/replies/thread/search/mentions.
- `--json` prints raw tweet objects for read/replies/thread/search/mentions/bookmarks.
- `read` returns full text for Notes and Articles when present.
- Use `--plain` for stable, script-friendly output (no emoji, no color).