WordPress / WordPress/php-toolkit

WP-CLI as a backend for steps

Open
#7 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Architecture V1
Dominant language
PHP
Stars
61
Forks
21
Avg merge
19h 34m
Merged PRs (30d)
7

Description

How many of WP-CLI commands could Blueprints reuse instead of reinventing the same logic?

Discussion
  • Should all Blueprint steps become just plugins to wp-cli?
    • No, simple steps like cp, mv etc don't warrant loading the entire wp-cli machinery and could be handled higher up in the stack.
  • Should all wp-cli commands be available as Blueprint steps?
    • It seems like a bad idea. This would inflate the scope, tightly couple the Blueprint library to wp-cli, and require inventing ways to express shell commands as JSON.
  • Let's handle all downloads outside of WP-CLI. WP-CLI is sequential in nature (download plugin X, then download plugin Y), and Blueprints need to parallelize the downloads (download plugins X and Y at the same time).

cc @schlessera @swissspidy @danielbachhuber

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.

Research direction

Start with the linked WP-CLI command documentation and the discussion about plugins, downloads, and shell commands. Done means reaching and documenting an agreed, bounded integration scope for Blueprint steps rather than exposing every WP-CLI command.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.