wp-cli / extension-command

Manages plugins and themes, including installs, activations, and updates.
MIT License
88 stars 80 forks source link

Show additional plugin headers values in `wp plugin get <plugin>` output #414

Closed ernilambar closed 5 months ago

ernilambar commented 5 months ago

Related: https://github.com/wp-cli/extension-command/issues/407

swissspidy commented 5 months ago

Makes we wonder whether we shouldn't add more information from get_plugin_data to this list by default. For example the RequiresWP and RequiresPHP information could be useful (both added in 5.3), or UpdateURI (added in 5.8)

ernilambar commented 5 months ago

@swissspidy We could keep name, title, author, version, description and status as default fields and other as optional AVAILABLE FIELDS. And for available optional fields we could add those new fields, like requires_plugins, requires_php, etc.

swissspidy commented 5 months ago

Now that #417 is merged, merging main into this branch should fix the tests