Skip to content

fix(cli): avoid WP-CLI global option collisions - #3440

Merged
chubes4 merged 3 commits into
mainfrom
fix/3439-cli-globals
Sep 3, 2026
Merged

fix(cli): avoid WP-CLI global option collisions#3440
chubes4 merged 3 commits into
mainfrom
fix/3439-cli-globals

Conversation

@chubes4

@chubes4 chubes4 commented Sep 3, 2026

Copy link
Copy Markdown
Member

Summary

  • rename command-local user selectors to explicit target or owner options
  • rename chat and email context inputs to domain-specific options
  • rely on WP-CLI global quiet handling instead of redeclaring --quiet
  • update examples, documentation, parsing, and collision coverage

Verification

  • php tests/cli-global-options-smoke.php
  • PHP syntax checks for all changed command and test files

Closes #3439.

AI assistance

OpenAI GPT-5.6 Sol via OpenCode inventoried the WP-CLI collisions, implemented the domain-specific option names and coverage, and assisted with review and verification. Chris Huber directed the work and reviewed the resulting candidate.

@chubes4
chubes4 merged commit 94cae57 into main Sep 3, 2026
7 checks passed
@chubes4
chubes4 deleted the fix/3439-cli-globals branch September 3, 2026 15:51
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.

Rename Data Machine CLI options that shadow WP-CLI globals

1 participant