Due to Shifter's update, this plugin doesn't work properly with Shifter V2 environment.
The Shifter is a serverless hosting solution for WordPress.
wp shifter is a WP-CLI command that enables you to deploy/import/export your WordPress site for the Shifter.
- WP-CLI 0.23 or later
$ wp package install shifter/cli:@stableOverride PHP memory limits inline with the following.
$ php -d memory_limit=256M /usr/local/bin/wp package install shifter/cli:@stablearchive- Create a .zip archive as a archive for the Shifter.delete- Delete an archive from the Shifter.extract- Extract the WordPress site from a .zip archive.list- Get a list of archives from the Shifter.upload- Upload an archive to the Shifter.
version- Prints current version of the shifter/cli.
$ wp shifter archive create [<file>] [--exclude=<files>]You can exclude wp-config.php.
$ wp shifter archive create /path/to/archive.zip --exclude=wp-config.php
$ wp shifter archive extract <file> [--delete] [--exclude=<files>]If you add --delete option, this command will remove all files before extracting.
$ wp shifter archive extract /path/to/archive.zip --deleteYou can exclude specific files from archive.
$ wp shifter archive extract /path/to/archive.zip --exclude=wp-config.php$ wp help shifter
NAME
wp shifter
DESCRIPTION
WP-CLI commands for the Shifter.
SYNOPSIS
wp shifter <command>
SUBCOMMANDS
archive Create a .zip archive as a archive for the Shifter.
version Prints current version of the shifter/cli.$ mkdir -p ~/.wp-cli/commands && cd -
$ git clone git@github.com:getshifter/wp-cli-shifter.gitAdd following into your ~/.wp-cli/config.yml.
require:
- commands/wp-cli-shifter/cli.php$ wp package update