Skip to content

Commit 9d97c95

Browse files
Add an example to the command doc
1 parent c927a46 commit 9d97c95

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

‎src/Plugin_Command.php‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1283,6 +1283,17 @@ public function delete( $args, $assoc_args = array() ) {
12831283
* | hello | inactive | none | 1.6 | 1.7.2 |
12841284
* +---------+----------------+--------+---------+----------------+
12851285
*
1286+
* # Check whether plugins are still active on WordPress.org
1287+
* $ wp plugin list --format=csv --fields=name,wporg_status,wporg_last_updated
1288+
* +--------------------+--------------+--------------------+
1289+
* | name | wporg_status | wporg_last_updated |
1290+
* +--------------------+--------------+--------------------+
1291+
* | akismet | active | 2023-12-11 |
1292+
* | user-switching | active | 2023-11-17 |
1293+
* | wordpress-importer | active | 2023-04-28 |
1294+
* | local | | |
1295+
* +--------------------+--------------+--------------------+
1296+
*
12861297
* @subcommand list
12871298
*/
12881299
public function list_( $_, $assoc_args ) {

0 commit comments

Comments
 (0)