Skip to content

Latest commit

 

History

History
29 lines (27 loc) · 1.28 KB

SYNC.MD

File metadata and controls

29 lines (27 loc) · 1.28 KB

caweb.json Configuration

Under the sync property you can list the various WordPress Instances. Each Instance, requires a WordPress Username, Application Password and the Site URL.

Sync Example Command:
Using the example, if you wanted to sync all the changes from the dev instance to your local instance.
caweb sync dev local

Sync Configuration Example:

{
    "sync": {
        "local": {
            "user": "<Username>",
            "pwd": "Application Password",
            "url": "http://example1.com"
        },
        "dev": {
            "user": "<Username>",
            "pwd": "Application Password",
            "url": "http://example2.com"
        },
        "test": {
            "user": "<Username>",
            "pwd": "Application Password",
            "url": "http://example3.com"
        }
    }
}