Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/christianwach/haystack-cli-tools/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Miscellaneous useful command line utilities.
Description
Haystack Command Line Tools is a WordPress plugin that provides a set of WP-CLI commands that I can't seem to find elsewhere.
Commands
bbpress role-deleteremoves the roles that BBPress added.spam deletedeletes spam Comments and Jetpack Form Submissions.
Use wp help haystack <command> to find out more.
Installation
There are two ways to install from GitHub:
ZIP Download
If you have downloaded Haystack Command Line Tools as a ZIP file from the GitHub repository, do the following to install and activate the plugin:
- Unzip the .zip file and, if needed, rename the enclosing folder so that the plugin's files are located directly inside
/wp-content/plugins/haystack-cli-tools - Activate the plugin.
- You are done.
git clone
If you have cloned the code from GitHub, it is assumed that you know what you're doing.