Upgrading openSUSE Leap with zypper-upgradedistro

After using the procedure explained for years in the upgrade with zypper article, I decided to collect all these steps in a practical script, which take care of all the statuses and, when needed, asks for confirmations, or suggests how to proceed manually in particular situations.