Title: WP-CLI support?
Last modified: June 23, 2024

---

# WP-CLI support?

 *  Resolved [rklrkl](https://wordpress.org/support/users/rklrkl/)
 * (@rklrkl)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/wp-cli-support-27/)
 * This plugin looks useful, but I manage a lot of WordPress sites and use WP-CLI
   extensively to keep things consistent across sites. There’s several settings 
   in this plugin that I’d like to change the default values of and I’d also like
   to be able to flush the object cache in a programmatic manner. Are there plans
   to add to WP-CLI support to this plugin i.e. replicate all the settings panel
   functionality as WP-CLI options?
 * Talking of flushing the object cache, are there any circumstances where it’s 
   advisable to manually initiate a flush? For example, if WordPress core, plugins
   or themes get added, deleted or updated? Or does the plugin handle these cases
   without manual intervention?

Viewing 1 replies (of 1 total)

 *  Plugin Author [OllieJones](https://wordpress.org/support/users/olliejones/)
 * (@olliejones)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/wp-cli-support-27/#post-17852712)
 * It’s a good idea to add WP-CLI support, thanks!
 * You can flush the cache from WP-CLI by deactivating, then reactivating the plugin.
   This simply deletes and reinitializes the cache’s sqlite database.
 * I haven’t yet found any situations where it’s necessary to flush the cache manually.(
   Except for a very strange one: when I was working on development for the [SQLite Database Integration plugin](https://wordpress.org/plugins/sqlite-database-integration/)
   a while ago things got out of sync with this plugin. But that was a development
   version of a plugin with a very atypical use case.)

Viewing 1 replies (of 1 total)

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

 * ![](https://ps.w.org/sqlite-object-cache/assets/icon-128x128.jpg?rev=2829632)
 * [SQLite Object Cache](https://wordpress.org/plugins/sqlite-object-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/sqlite-object-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/sqlite-object-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/sqlite-object-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sqlite-object-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sqlite-object-cache/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [OllieJones](https://wordpress.org/support/users/olliejones/)
 * Last activity: [1 year, 11 months ago](https://wordpress.org/support/topic/wp-cli-support-27/#post-17852712)
 * Status: resolved