wp core check-update

Checks for WordPress updates via Version Check API

Options

NameDescription
--minorCompare only the first two parts of the version number
--majorCompare only the first part of the version number
--field <field>Prints the value of a single field for each update
--fields <fields>Limit the output to specific object fields. Defaults to version,update_type,package_url
--format <options>Render output in a particular format