You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The wp site list command supports filtering to specific fields, such as domain: wp site list --domain=wordpress.org
and the documentation suggests it can filter to the path, but the parameter conflicts with the global --path parameter.
Bug Report
The
wp site list
command supports filtering to specific fields, such as domain:wp site list --domain=wordpress.org
and the documentation suggests it can filter to the path, but the parameter conflicts with the global
--path
parameter.The code seems to suggest it's possible too:
https://github.com/wp-cli/entity-command/blob/master/src/Site_Command.php#L558-L563
It should be possible to list sites by their path component somehow, eg:
wp site list --field-path=/support/
Let us know what environment you are running this on
The text was updated successfully, but these errors were encountered: