Skip to content

{Core} Add plugin management#1284

Draft
AllyW wants to merge 25 commits intoaliyun:masterfrom
AllyW:plugin-manage
Draft

{Core} Add plugin management#1284
AllyW wants to merge 25 commits intoaliyun:masterfrom
AllyW:plugin-manage

Conversation

@AllyW
Copy link
Collaborator

@AllyW AllyW commented Dec 11, 2025

Description
This PR adds a complete plugin management system with the following features:

Key Features:

  • Plugin installation, uninstallation, upgrade, and listing
  • Plugin index fetching from remote repository
  • SHA256 checksum verification for plugin downloads

Commands:

  • aliyun plugin list - List installed plugins
  • aliyun plugin install --names <name> [--version <version> --enable-pre] - Install plugin
  • aliyun plugin uninstall --name <name> - Uninstall plugin
  • aliyun plugin update [--name <name>] - Update plugin(s)
  • aliyun plugin search - Search available plugin based on cmds
  • aliyun plugin list-remote - List remote available plugins

@codecov-commenter
Copy link

codecov-commenter commented Dec 22, 2025

Codecov Report

❌ Patch coverage is 81.14919% with 187 lines in your changes missing coverage. Please review.
✅ Project coverage is 83.62%. Comparing base (1c05fda) to head (d82bfbe).

Files with missing lines Patch % Lines
cli/plugin/manager.go 83.33% 43 Missing and 37 partials ⚠️
cli/plugin/command.go 78.27% 45 Missing and 13 partials ⚠️
openapi/commando.go 70.17% 21 Missing and 13 partials ⚠️
cli/plugin/execution.go 85.93% 5 Missing and 4 partials ⚠️
cli/plugin/types.go 76.92% 3 Missing and 3 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1284      +/-   ##
==========================================
- Coverage   83.98%   83.62%   -0.37%     
==========================================
  Files          49       53       +4     
  Lines        4747     5733     +986     
==========================================
+ Hits         3987     4794     +807     
- Misses        551      657     +106     
- Partials      209      282      +73     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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