logging into WordPress even with authentication enabled is not much of hassle, it's still nuisance when you just want to approve or trash couple of comments... Moderating comments with WP-CLI is possible and involves quite bit of typing which is better than navigating and clicking around with mouse and still is tedious.. Fortunately, WP-CLI can produce output that is easy to parse, which makes it easy to use in script. outputs info about the comment including which post it's for and prompts me to select action. I can just skip to the next one. It's crude, and it was quick to put together, and it works well for me. It requires you to SSH into the box and with WP-CLI's SSH capabilities, it should be easy to extend to use from your local machine. Here's the script, licensed under extremely relaxed license, so do what you want with it if you want to. The script works well for me now, and I'd be very happy if you share it in the comments and I'll approve the comment as fast as I can - ). Oh, and by the way it will go through all your sites asking you what to do with every comment on every site...
Read more