Skip to content

adrianduffell/wp-cli-option-import

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WP-CLI Option Import

A WP-CLI package providing a command to import WordPress options from a .yml file.

Requirements

  • WordPress
  • WP-CLI

Installation

Download this branch (dev) as a .zip file from GitHub and install the package using WP-CLI. Install on the command line via Composer.

wp package install /path/to/.zip

Usage

Create a .yml file containing option values to be imported.

blogname: Testing
blogdescription: Not another WordPress site.

Import the file.

$ wp option import /path/to/.options.yml
Success: Updated 2 of 4 options (2 skipped).

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published