wp-cli / extension-command

Manages plugins and themes, including installs, activations, and updates.
MIT License
87 stars 82 forks source link

Add `--recently-active` option in plugin list command #424

Closed ernilambar closed 2 months ago

ernilambar commented 2 months ago

Related: https://github.com/wp-cli/extension-command/issues/232

PR continued from https://github.com/wp-cli/extension-command/pull/383

wp plugin list --recently-active

This will give the list of recently active plugins.

swissspidy commented 2 months ago

Can we re-add some of the docs changes from #383?

Also, what's the main change here that made the tests pass?

ernilambar commented 2 months ago
ernilambar commented 2 months ago

@swissspidy Is it worth adding --recently-active in wp plugin activate or we are good with wp plugin activate $(wp plugin list --recently-active --field=name ?