Skip to content

Use not-installed instead of "not installed" for --status filter values #26

Description

@ernilambar

Issue

The --status filter option in wp connectors list accepts not installed as a filter value. Standard WP-CLI commands do not use multi-word strings with spaces for CLI flag choices, as it forces users to quote arguments in the terminal (--status="not installed") and breaks standard CLI conventions.

Example

Command Flag Example Values Used
wp plugin list --status=<status> active, inactive, must-use, dropin, active-network
wp theme list --status=<status> active, inactive, parent
wp comment list --status=<status> hold, approve, spam, trash
wp post list --post_status=<status> publish, future, draft, pending, private, trash
wp language plugin list --status=<status> installed, uninstalled, active

Activity

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions