hoarder-app / hoarder

A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search
https://hoarder.app
GNU Affero General Public License v3.0
3.56k stars 133 forks source link

[CLI] Ability to get all bookmark IDs of a list #442

Open JojiiOfficial opened 2 days ago

JojiiOfficial commented 2 days ago

It would be great to have the ability to list all bookmarks from a specific list using the Hoarder CLI tool. This functionality would greatly improve the tool's usability and help with bookmark management.

MohamedBassem commented 2 days ago

Yeah, that makes sense. If you're interested in sending a PR, it shouldn't be too hard. You can add a "get" command here and use tRPC to fetch the list content (https://github.com/hoarder-app/hoarder/blob/main/apps/cli/src/commands/lists.ts#L94).