Skip to content

Add a way to validate command examples #296

Closed as not planned
Closed as not planned

Description

@swissspidy

Looking at wp-cli/cache-command#120, I am wondering if there's a good way to catch such issues across all our repos, to ensure the documentation is correct.

Maybe extract all the examples, run them and compare the results. Could be a one off thing with AI, or something automated.

Activity

  1. added
    help-wanted
    scope:documentation
    scope:testing
    on Jan 29, 2026
  2. trepmal commented on Jan 29, 2026

    @trepmal

    It may be worth noting that in that PR the example command+result was not invalid, just confusing.

  3. swissspidy commented on Jan 29, 2026

    @swissspidy
    MemberAuthor

    Indeed. That is an argument in favor of a one-off AI-powered review.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    help-wantedscope:documentationscope:testing

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions