WP-CLI: detect altered core files and restore them automatically
I know that there is a command to verify the integrity of the core files:
$ wp core verify-checksums
In case a file is corrupted or altered, is there any WP-CLI command to automatically restore all those files? E.g. download those files from the official repository and restore.
This could be a useful command to run every 24 hours for example, together with any updates, in order to keep the WordPress installation intact and safe.