Skip to content

plugin/install & plugin/uninstall improvements #17030

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 7, 2025

Conversation

brandonkelly
Copy link
Member

Description

plugin/install now has an $edition argument, for specifying the edition that should be installed.

php craft plugin/install freeform pro

It can also be used to switch the active edition for an already-installed plugin.

If a multi-edition plugin is being installed and no edition is specified, the user will be prompted to choose which edition should be installed.

A terminal window showing the edition prompt when installing a multi-edition plugin

Plus, the plugin/uninstall command will now display a No plugin is installed with the handle [X]. message, when an invalid plugin handle is passed.

Related issues

Copy link

linear bot commented Apr 7, 2025

[ci skip]
@brandonkelly brandonkelly merged commit 6f179a3 into 4.15 Apr 7, 2025
@brandonkelly brandonkelly deleted the feature/cms-1386-plugin-cli-improvements branch April 7, 2025 00:17
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