feat: add unbookmark command to remove bookmarks

This commit is contained in:
Mariano Belinky
2026-01-05 02:10:10 +00:00
committed by Peter Steinberger
parent 1d1ed6b515
commit 04a0c98362
9 changed files with 145 additions and 1 deletions
+3
View File
@@ -7,6 +7,7 @@ import { registerPostCommands } from '../commands/post.js';
import { registerQueryIdsCommand } from '../commands/query-ids.js';
import { registerReadCommands } from '../commands/read.js';
import { registerSearchCommands } from '../commands/search.js';
import { registerUnbookmarkCommand } from '../commands/unbookmark.js';
import { registerUserCommands } from '../commands/users.js';
import { getCliVersion } from '../lib/version.js';
import { type CliContext, collectCookieSource } from './shared.js';
@@ -21,6 +22,7 @@ export const KNOWN_COMMANDS = new Set([
'search',
'mentions',
'bookmarks',
'unbookmark',
'following',
'followers',
'likes',
@@ -127,6 +129,7 @@ export function createProgram(ctx: CliContext): Command {
registerReadCommands(program, ctx);
registerSearchCommands(program, ctx);
registerBookmarksCommand(program, ctx);
registerUnbookmarkCommand(program, ctx);
registerListsCommand(program, ctx);
registerUserCommands(program, ctx);
registerCheckCommand(program, ctx);