wp-cli / extension-command

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

Add option to list recently active plugins #383

Closed thrijith closed 4 months ago

thrijith commented 8 months ago

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

swissspidy commented 8 months ago

@wp-cli/committers Instead of wp plugin list --recently-active, should we just make this wp plugin list --status=recently-active?

danielbachhuber commented 8 months ago

Instead of wp plugin list --recently-active, should we just make this wp plugin list --status=recently-active?

@swissspidy I prefer --recently-active because recently_active is a separate column, not a value in the status column.

thrijith commented 7 months ago

Not sure what the error is in https://github.com/wp-cli/extension-command/actions/runs/7077555679/job/19262025024?pr=383#step:12:260, unable to replicate on local site, getting this error only in tests, please check https://cleanshot.thrijith.com/jMsCpCyk

danielbachhuber commented 7 months ago

@thrijith You can merge main to fix the unrelated broken tests. I fixed them up with https://github.com/wp-cli/extension-command/pull/389.

I'd recommend setting up the Behat test suite locally so it's easier for you to debug the failure specific to your tests.

thrijith commented 4 months ago

Closing the PR as I was not able to figure out the reason for one of the failure in tests, anyone who wants to takes this, please feel free to do so, thanks!