Skip to content

Align cleanup drain verbose guidance with its CLI contract #1147

Description

@chubes4

Problem

cleanup-eligible-drain output advertises Re-run with --verbose --format=json for full row arrays and evidence, but its structured WP-CLI synopsis omits verbose and WP-CLI rejects the suggested command as an unknown parameter. The owning renderer already compacts useful candidate and blocker evidence, making the dead-end especially confusing after cleanup.

Acceptance

  • Either register and route --verbose to meaningful expanded drain evidence, or remove every drain-specific verbose hint.
  • Help, native WP-CLI synopsis, renderer, and routing tests agree.
  • A copy-pasted full-detail command executes successfully.

AI assistance

GPT-5.6-sol via OpenCode reproduced the rejected flag, inspected the synopsis and renderer, and drafted this report. Chris Huber remains responsible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions