Skip to content

CLI: if "wp plugin check <my-plugin>" finds no errors/warnings, then output a message saying such #685

@pbiron

Description

@pbiron

thanx for this useful plugin. I've used it several times from the WP Dashboard (Tools > Plugin Check). Today I tried the WP_CLI wp plugin check command for the first time.

It would be helpful if the check command output a WP_CLI::success() message if no errors/warnings are found. The way things are it is not possible to know whether there were no errors/warnings or whether there was a run-time fatal while the check command was running (without consulting the PHP error log).

Not sure how such a message might affect the GitHub Action, as I don't use GH actions ;-)

If there is consensus that this would be a good idea, I'm happy to do a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Good First IssueIssue particularly suitable to be worked on by new contributors

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions