Title: WP-CLI support
Last modified: October 15, 2021

---

# WP-CLI support

 *  [simjost](https://wordpress.org/support/users/simjost/)
 * (@simjost)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/wp-cli-support-20/)
 * Hey,
 * it would be great to have WP-CLI support to perform a cache flush operation, 
   if needed.
    Does this kind of functionality already exists?
 * There was a previous request about this a few years ago, but with APO gaining
   more and more adoption, it is more relevant again.
    Back then, someone suggested
   that this feature might already be present when using the `wp cache` command (
   [https://developer.wordpress.org/cli/commands/cache/](https://developer.wordpress.org/cli/commands/cache/)).
   As this is only about a WordPress object cache, it shouldn’t be the case. Or 
   does the plugin hook into this command and flushes the Cloudflare cache as well?
 * Thanks and keep up the good work
 * Joda
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwp-cli-support-20%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [eclev91](https://wordpress.org/support/users/eclev91/)
 * (@eclev91)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/wp-cli-support-20/#post-15055820)
 * In the meantime, there are third-party solutions, like this one: [https://github.com/sterner-stuff/cloudflare-cli](https://github.com/sterner-stuff/cloudflare-cli)
 *  Thread Starter [simjost](https://wordpress.org/support/users/simjost/)
 * (@simjost)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/wp-cli-support-20/#post-15118764)
 * [@eclev91](https://wordpress.org/support/users/eclev91/) thanks for the tip! 
   We will have a look.
    Official support would still be appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘WP-CLI support’ is closed to new replies.

 * ![](https://ps.w.org/cloudflare/assets/icon-256x256.png?rev=2471183)
 * [Cloudflare](https://wordpress.org/plugins/cloudflare/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cloudflare/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cloudflare/)
 * [Active Topics](https://wordpress.org/support/plugin/cloudflare/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cloudflare/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cloudflare/reviews/)

## Tags

 * [cache](https://wordpress.org/support/topic-tag/cache/)
 * [cli](https://wordpress.org/support/topic-tag/cli/)
 * [invalidate](https://wordpress.org/support/topic-tag/invalidate/)
 * [wp-cli](https://wordpress.org/support/topic-tag/wp-cli/)
 * [wpcli](https://wordpress.org/support/topic-tag/wpcli/)

 * 2 replies
 * 2 participants
 * Last reply from: [simjost](https://wordpress.org/support/users/simjost/)
 * Last activity: [4 years, 6 months ago](https://wordpress.org/support/topic/wp-cli-support-20/#post-15118764)
 * Status: not resolved