ideas icon indicating copy to clipboard operation
ideas copied to clipboard

Add ability to provide a dependency file for installing plugins

Open Buzut opened this issue 4 years ago • 1 comments

The cli allows to output all installed plugins in different formats: wp plugin list --format=yaml It would be really interesting to be able to provide such a file as a parameter to install the plugins to another WordPress install.

wp plugin install --list=plugins.yml

# Maybe add a version parameter [strict | minor | major | latest]
wp plugin install --list=plugins.yml --version=strict

Buzut avatar May 01 '21 07:05 Buzut

Thanks for the suggestion, @Buzut !

This project implements such a feature: https://github.com/boxuk/dictator

danielbachhuber avatar Mar 03 '23 14:03 danielbachhuber