Skip to content

feat(plugin): support batch updating all installed plugins#368

Merged
jackwener merged 1 commit intomainfrom
feat/plugin-update-all
Mar 24, 2026
Merged

feat(plugin): support batch updating all installed plugins#368
jackwener merged 1 commit intomainfrom
feat/plugin-update-all

Conversation

@ByteYue
Copy link
Collaborator

@ByteYue ByteYue commented Mar 24, 2026

Description

Adds the ability to update all installed plugins at once via opencli plugin update --all.

  • Refactors opencli plugin update [name] to make the name optional if --all is provided.
  • Implements updateAllPlugins() which iterates over all installed plugins.
  • Collects success/failure states so that a single plugin update failure (e.g., network timeout) does not interrupt the entire batch process.
  • Displays a summary report of successful and failed updates at the end.

@jackwener jackwener force-pushed the feat/plugin-update-all branch from 843f6a2 to 970d4c4 Compare March 24, 2026 13:53
Copy link
Owner

@jackwener jackwener left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deep review completed. I kept the batch-update feature, removed the unrelated E2E scope from the effective patch, simplified the update-all implementation, added targeted plugin tests, and synced the plugin docs/README examples.

@jackwener jackwener merged commit 93b9db5 into main Mar 24, 2026
13 checks passed
@jackwener jackwener deleted the feat/plugin-update-all branch March 24, 2026 13:54
@jackwener
Copy link
Owner

Thanks for the contribution. I kept the core \ feature, narrowed the effective scope to plugin management only, added targeted regression coverage, and synced the plugin docs so the command is discoverable.

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.

2 participants