Title: Patch for wp-cli command
Last modified: August 20, 2016

---

# Patch for wp-cli command

 *  [scribu](https://wordpress.org/support/users/scribu/)
 * (@scribu)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/patch-for-wp-cli-command-1/)
 * Here’s a [patch](https://raw.github.com/gist/3a8d73cec7a163be0c30/29b22e068df35d5833135ba8ae1e7d479580747f/wp-super-cache.diff)
   that implements a [wp-cli](http://wp-cli.org) command, with which you can manage
   WP Super Cache from the command line.
 * Example usage:
 *     ```
       $ wp super-cache flush
       ```
   
 *     ```
       $ wp super-cache enable
       ```
   
 *     ```
       $ wp super-cache disable
       ```
   
 *     ```
       $ wp super-cache status
       ```
   
 * [http://wordpress.org/extend/plugins/wp-super-cache/](http://wordpress.org/extend/plugins/wp-super-cache/)
 * PS: Most of the code was actually written by [andreascreten](https://github.com/andreascreten/),
   with help from [conatus](https://github.com/conatus/).

Viewing 1 replies (of 1 total)

 *  Thread Starter [scribu](https://wordpress.org/support/users/scribu/)
 * (@scribu)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/patch-for-wp-cli-command-1/#post-3238644)
 * And here’s the same command bundled as a separate plugin:
 * [https://github.com/wp-cli/wp-super-cache-cli](https://github.com/wp-cli/wp-super-cache-cli)

Viewing 1 replies (of 1 total)

The topic ‘Patch for wp-cli command’ is closed to new replies.

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

## Tags

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

 * 1 reply
 * 1 participant
 * Last reply from: [scribu](https://wordpress.org/support/users/scribu/)
 * Last activity: [13 years, 2 months ago](https://wordpress.org/support/topic/patch-for-wp-cli-command-1/#post-3238644)
 * Status: not resolved