Skip to content

Add WordPress recipe build CLI command#492

Merged
chubes4 merged 1 commit into
mainfrom
fix/issue-482-recipe-build-cli
Jun 2, 2026
Merged

Add WordPress recipe build CLI command#492
chubes4 merged 1 commit into
mainfrom
fix/issue-482-recipe-build-cli

Conversation

@chubes4

@chubes4 chubes4 commented Jun 2, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Adds wp-codebox recipe build phpunit --options <path> [--output <path>] so external shell runners can use the exported WordPress PHPUnit recipe builder without importing TypeScript packages directly.
  • Reuses buildWordPressPhpunitRecipe() from runtime-core and covers the command with a focused CLI smoke.
  • Extracts the CLI entry router for direct smoke execution without spawning a subprocess.

Verification

  • npm run build
  • npm run recipe-build-cli-smoke

AI assistance

  • AI assistance: Yes
  • Tool(s): OpenCode (openai/gpt-5.5)
  • Used for: Drafted the CLI wrapper, smoke coverage, verification runs, and PR description. Chris remains responsible for review and merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant