introduce \WP_CLI\Plugin class
DRY up code for adding update info to an item