Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 18 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -375,10 +375,10 @@ These fields will be displayed by default for each plugin:
* status
* update
* version
* update_version

These fields are optionally available:

* update_version
* update_package
* update_id
* title
Expand All @@ -391,22 +391,22 @@ These fields are optionally available:

# List active plugins on the site.
$ wp plugin list --status=active --format=json
[{"name":"dynamic-hostname","status":"active","update":"none","version":"0.4.2"},{"name":"tinymce-templates","status":"active","update":"none","version":"4.4.3"},{"name":"wp-multibyte-patch","status":"active","update":"none","version":"2.4"},{"name":"wp-total-hacks","status":"active","update":"none","version":"2.0.1"}]
[{"name":"dynamic-hostname","status":"active","update":"none","version":"0.4.2","update_version": ""},{"name":"tinymce-templates","status":"active","update":"none","version":"4.4.3","update_version": ""},{"name":"wp-multibyte-patch","status":"active","update":"none","version":"2.4","update_version": ""},{"name":"wp-total-hacks","status":"active","update":"none","version":"2.0.1","update_version": ""}]

# List plugins on each site in a network.
$ wp site list --field=url | xargs -I % wp plugin list --url=%
+---------+----------------+--------+---------+
| name | status | update | version |
+---------+----------------+--------+---------+
| akismet | active-network | none | 3.1.11 |
| hello | inactive | none | 1.6 |
+---------+----------------+--------+---------+
+---------+----------------+--------+---------+
| name | status | update | version |
+---------+----------------+--------+---------+
| akismet | active-network | none | 3.1.11 |
| hello | inactive | none | 1.6 |
+---------+----------------+--------+---------+
+---------+----------------+--------+---------+----------------+
| name | status | update | version | update_version |
+---------+----------------+--------+---------+----------------+
| akismet | active-network | none | 3.1.11 | |
| hello | inactive | none | 1.6 | 1.7.2 |
+---------+----------------+--------+---------+----------------+
+---------+----------------+--------+---------+----------------+
| name | status | update | version | update_version |
+---------+----------------+--------+---------+----------------+
| akismet | active-network | none | 3.1.11 | |
| hello | inactive | none | 1.6 | 1.7.2 |
+---------+----------------+--------+---------+----------------+



Expand Down Expand Up @@ -1058,10 +1058,10 @@ These fields will be displayed by default for each theme:
* status
* update
* version
* update_version

These fields are optionally available:

* update_version
* update_package
* update_id
* title
Expand All @@ -1072,9 +1072,9 @@ These fields are optionally available:

# List themes
$ wp theme list --status=inactive --format=csv
name,status,update,version
twentyfourteen,inactive,none,1.7
twentysixteen,inactive,available,1.1
name,status,update,version,update_version
twentyfourteen,inactive,none,1.7,
twentysixteen,inactive,available,1.1,



Expand Down