PHPackages                             megumi/wp-cli-yaml - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [CLI &amp; Console](/categories/cli)
4. /
5. megumi/wp-cli-yaml

ActiveLibrary[CLI &amp; Console](/categories/cli)

megumi/wp-cli-yaml
==================

WP-CLI command imports/exports WordPress settings

09[1 issues](https://github.com/megumi-wp-composer/megumi-wp-cli-yaml/issues)PHP

Since Apr 23Pushed 11y ago1 watchersCompare

[ Source](https://github.com/megumi-wp-composer/megumi-wp-cli-yaml)[ Packagist](https://packagist.org/packages/megumi/wp-cli-yaml)[ RSS](/packages/megumi-wp-cli-yaml/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

`wp yaml `
=======================

[](#wp-yaml-sub-command)

System Requirements
-------------------

[](#system-requirements)

- PHP &gt;=5.3
- wp-cli &gt;=0.17.0

Installing
----------

[](#installing)

### Installing without composer.

[](#installing-without-composer)

```
$ mkdir ~/.wp-cli
$ touch ~/.wp-cli/config.yml
$ mkdir ~/.wp-cli/commands

```

Then install.

```
$ cd ~/.wp-cli/commands
$ git clone git@github.com:megumi-wp-composer/megumi-wp-cli-yaml.git

```

Then edit the ~/.wp-cli/config.yml file so that it looks like following.

```
require:
  - commands/megumi-wp-cli-yaml/cli.php

```

### Install into wp-content/mu-plugins with composer.

[](#install-into-wp-contentmu-plugins-with-composer)

Place the composer.json like following.

```
{
    "name": "megumi/mu-plugins",
    "authors": [
        {
            "name": "John Smith",
            "email": "john@example.com"
        }
    ],
    "require": {
        "megumi/wp-cli-yaml": "*"
    }
}

```

Place the plugin file like following,

```
