Haystack Command Line Tools
Miscellaneous useful command line utilities.
by Christian Wach · github.com/christianwach/haystack-cli-tools · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/christianwach/haystack-cli-tools/archive/refs/heads/main.zipDeclares an update source (https://github.com/christianwach/haystack-cli-tools), so updates arrive through the plugin's own updater.
Readme
Haystack Command Line Tools
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.