rappasoft / wordpress-command-line-downloader
Command line downloader for Wordpress.
Requires
- guzzlehttp/guzzle: ~6.0
- symfony/console: ~2.7|~3.0
- symfony/process: ~2.7|~3.0
This package is auto-updated.
Last update: 2020-02-21 15:45:56 UTC
README
This is a command line downloader for Wordpress that downloads and extracts the latest version of Wordpress to the directory of your choosing.
How To Use
Prerequisites:
- Composer (Local or global)
First, download the Wordpress downloader using Composer:
composer global require "rappasoft/wordpress-command-line-downloader"
Make sure to place the ~/.composer/vendor/bin
directory (or the equivalent directory for your OS) in your PATH so the wordpress
executable can be located by your system.
Once installed, the wordpress new
command will create a fresh Wordpress installation in the directory you specify.
If you leave the directory out it will install in the current working directory.
For example:
wordpress new mywebsite
Will install in a new folder called mywebsite
using the current working directory as the base.