Skip to content

feat(twitter): add batch follow and list lifecycle commands#1761

Open
gauravsaxena1997 wants to merge 3 commits into
jackwener:mainfrom
gauravsaxena1997:feat/twitter-batch-tools
Open

feat(twitter): add batch follow and list lifecycle commands#1761
gauravsaxena1997 wants to merge 3 commits into
jackwener:mainfrom
gauravsaxena1997:feat/twitter-batch-tools

Conversation

@gauravsaxena1997
Copy link
Copy Markdown
Contributor

Summary

Adds Twitter/X batch tooling for follow and list management workflows.

This PR introduces:

  • twitter follow-batch

    • Follows multiple users from a comma-separated username list.
    • Supports configurable pacing between follow attempts.
    • Reports per-user success/failure rows.
  • twitter list-add-batch

    • Adds multiple users to a Twitter/X list from a comma-separated username list.
    • Reuses the existing single-user list add flow through a shared core helper.
    • Supports configurable pacing.
  • twitter list-remove-batch

    • Removes multiple users from a Twitter/X list from a comma-separated username list.
    • Reuses the existing single-user list remove flow through a shared core helper.
    • Supports configurable pacing.
  • twitter list-delete

    • Deletes a list by ID.
    • Requires explicit --confirm true to avoid accidental deletion.

Also updates:

  • CLI manifest
  • README command table
  • Chinese README command table
  • Twitter adapter docs
  • Focused adapter tests for the new command behavior

Tests

  • npx vitest run --project adapter clis/twitter/follow-batch.test.js clis/twitter/list-batch.test.js clis/twitter/list-delete.test.js clis/twitter/list-add.test.js
  • npm run prebuild-manifest && npx tsx src/build-manifest.ts
  • npm run docs:build
  • npm test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant