Skip to content
This repository has been archived by the owner before Nov 9, 2022. It is now read-only.

ericmann/WP-PowerShell

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

WP-PowerShell

This project is no longer under active development. Feel free to fork.

Windows PowerShell wrapper for WordPress CLI tools.

Requirements

  • PHP >= 5.3
  • WP >= 3.3

Installing

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.

Using

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] ...

Changelog

1.0

  • Initial release

Contributors

About

Windows PowerShell wrapper for WordPress CLI tools.

Resources

License

Stars

Watchers

Forks

Packages

No packages published