wp-media / wp-rocket-cli

WP CLI interface for the WP Rocket plugin
74 stars 37 forks source link

Add preload stop command to the CLI #42

Open DahmaniAdame opened 3 years ago

DahmaniAdame commented 3 years ago

We have a CLI command to start the preload process - https://github.com/wp-media/wp-rocket-cli/blob/master/command.php#L248

Would it be possible to add another one for stopping the preload too?

This can be handy for cases where access to the backend to stop the preload process is not possible.

Related ticket - https://secure.helpscout.net/conversation/1371514209/224295/

jmslbam commented 3 years ago

Is anybody already building this inside WP Media? Just let me know, because I will be needing this and can send a PR for this if needed. Ciao!

remyperona commented 3 years ago

@jmslbam Hey 👋🏼 We currently are not working on this one, but a PR for it is very welcome!