Here's a patch that implements a wp-cli command, with which you can flush various caches from the command line.
Example usage:
$ wp total-cache flush db
Thanks! Took a look at this patch. As one might expect after the announcement, there a number of commands that are supported in the private master or the next public release expected this month, e.g.:
flush db
flush database
flush minify
flush object
flush post <id>
flush post <permalink>
flush post
querystring (updates the mediasquerystring)
cdn_purge <array> (consists of paths relative to wphome url)
pgcache_cleanup
More will be added soon.
I had read about that, but forgot about it in the mean time. Disregard my patch then.
Looking forward to the next release.
No worries. :)
For legal reasons, I have to mention that most of the code in the patch was actually written by andreascreten, with help from johnpbloch.
You must log in to post.