-
Notifications
You must be signed in to change notification settings - Fork 85
Open
wp-cli/wp-cli
#6198Labels
command:plugin-listRelated to 'plugin list' commandRelated to 'plugin list' commandcommand:theme-listRelated to 'theme list' commandRelated to 'theme list' command
Description
I am creating an audit script and noticed that you cannot use more than one status with the wp theme list command.
Here is an example on a live site:
wp theme list
Output
+----------------+--------+--------+---------+
| name | status | update | version |
+----------------+--------+--------+---------+
| woodmart-child | active | none | 1.0.0 |
| woodmart | parent | none | 4.4.0 |
+----------------+--------+--------+---------+
I can filter by one status
wp theme list --status=active
Output
+----------------+--------+--------+---------+
| name | status | update | version |
+----------------+--------+--------+---------+
| woodmart-child | active | none | 1.0.0 |
+----------------+--------+--------+---------+
But if I try to get both the active and parent status in one command it fails
wp theme list --status=active,parent
Output
+------+--------+--------+---------+
| name | status | update | version |
+------+--------+--------+---------+
+------+--------+--------+---------+
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
command:plugin-listRelated to 'plugin list' commandRelated to 'plugin list' commandcommand:theme-listRelated to 'theme list' commandRelated to 'theme list' command