pub async fn run_upgrade(check_only: bool) -> Result<()>
Run the upgrade command.
If check_only is true, only checks for updates without installing.
check_only