Skip to content

vccw-team/wp-cli-scaffold-movefile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vccw-team/wp-cli-scaffold-movefile

Build Status

Get informations as YAML format for Wordmove's movefile.yml from WordPress.

Note: We changed the package name because the package index for package command is being deprecated. See installing.

$ wp scaffold movefile

For more details:

$ wp help scaffold movefile

Quick links: Installing | Contributing

Installing

Installing this package requires WP-CLI v0.23.0 or greater. Update to the latest stable release with:

$ wp cli update

Once you've done so, you can install this package with:

$ wp package install vccw-team/wp-cli-scaffold-movefile

We changed the package name because the package index for package command is being deprecated. https://make.wordpress.org/cli/2017/07/18/feature-development-discussion-recap/

So, if you are using this this command with the old name, please uninstall the package and install again with the new name.

$ wp package uninstall vccw/wp-cli-scaffold-movefile
$ wp package install vccw-team/wp-cli-scaffold-movefile

Customize a default template

You can customize a default template of the movefile.yml.

$ curl -o ~/.wp-cli/movefile.mustache https://raw.githubusercontent.com/vccw-team/wp-cli-scaffold-movefile/master/src/templates/movefile.mustache

Then edit ~/.wp-cli/movefile.mustache.

Contributing

Code and ideas are more than welcome.

Please open an issue with questions, feedback, and violent dissent. Pull requests are expected to include test coverage.