This project is no longer under active development. Feel free to fork.
Windows PowerShell wrapper for WordPress CLI tools.
- PHP >= 5.3
- WP >= 3.3
Clone the repository into [User]/Documents/WindowsPowerShell/Modules.
Run git submodule init
to initialize the WP-CLI submodule
Run git submodule update
to pull upstream changes for WP-CLI
Run Import-Module WP-PowerShell
from the PowerShell prompt.
Navigate to a WordPress root folder within Windows:
cd C:\xampp\htdocs\wp
Enclose multiple CLI commands in quotes. For example:
wp "home help"
Typing wp help
should show you output similar to this:
Example usage:
wp google-sitemap [build|help] ...
wp core [update|help] ...
wp home [help] ...
wp option [add|update|delete|get|help] ...
wp plugin [status|activate|deactivate|install|delete|update|help] ...
wp theme [status|details|activate|help] ...
1.0
- Initial release