Description
I think it would be very helpful if there is a possibility to check if updates exist.
Thes feature is already implemented for the wp core:
https://developer.wordpress.org/cli/commands/core/check-update/
But there is no such a feature for plugins, themes and languagepacks.
Plugin parameter overview:
https://developer.wordpress.org/cli/commands/plugin/
Theme parameter overview:
https://developer.wordpress.org/cli/commands/theme/
Langauge parameter overview:
https://developer.wordpress.org/cli/commands/language/core/
https://developer.wordpress.org/cli/commands/language/plugin/
https://developer.wordpress.org/cli/commands/language/theme/
It would be also nice, if the check-update parameter provide returncodes.
Example:
wp plugin check-update -> no updates -> returncode = 0
wp core check-update -> update available -> returncode = 1
wp theme check-update -> unknown error -> returncode = 2
Thanks and Cheers