wp-cli integration

Open
#129 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
php, wordpress
Domain
cli, tooling

Research direction

Start by reviewing the Blueprints v2 and Data Liberation integrations, especially PR 2104, and inspect the create-wp-site example linked in the issue. Clarify which wp-cli commands are in scope, including applying a Blueprint, importing supported sources, and creating a site, then define completion criteria for the selected commands.

Written by the indexing model from the issue text.

Description

Let's enable using Blueprints v2 and Data Liberation importers via wp-cli. They're built in a generic way that should combine well with any runner.

@zaerl already explored running the Data Liberation importer in this PR https://github.com/WordPress/wordpress-playground/pull/2104

Other useful commands could be:

  • Apply a Blueprint to an existing site
  • Import a directory / url / anything supported by create-wp-site
  • ... what else ? ...
  • Create a new WordPress site from a Blueprint (maybe as a wp blueprint command that would just passthrough everything into the blueprints.phar runner?)
Dominant language
PHP
Stars
61
Forks
21
Avg merge
19h 34m
Merged PRs (30d)
7

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from WordPress/php-toolkit

All issues in WordPress/php-toolkit

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.