A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search
feat(cli): add --description flag to bookmarks update command (#2856)
Tanish Valesha8463ad078659
diff --git a/apps/cli/src/commands/bookmarks.ts b/apps/cli/src/commands/bookmarks.tsindex fc220ead..0cbd1a09 100644--- a/apps/cli/src/commands/bookmarks.ts+++ b/apps/cli/src/commands/bookmarks.ts@@ -361,6 +361,10 @@ bookmarkCmd.option("--no-archive", "if set, the bookmark will be unarchived").option("--favourite", "if set, the bookmark will be favourited").option("--no-favourite", "if set, the bookmark will be unfavourited")+ .option(+ "--description <description>",+ "if set, the bookmark's description will be updated",+ ).argument("<id>", "the id of the bookmark to update").action(async (id, opts) => {const api = getAPIClient();@@ -371,6 +375,7 @@ bookmarkCmdfavourited: opts.favourite,title: opts.title,note: opts.note,+ description: opts.description,}).then(printObject).catch(printError(`Failed to update bookmark with id "${id}"`));