wp-cli / ideas

💡 Ideas and feature requests are collected here
40 stars 1 forks source link

Add ability to provide a dependency file for installing plugins #172

Open Buzut opened 3 years ago

Buzut commented 3 years ago

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
danielbachhuber commented 1 year ago

Thanks for the suggestion, @Buzut !

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