This extension adds console commands to be able to regenerate; a product rewrite URL based on its url path; a category rewrite URL based on its url path; a category URL path based on its URL key and its parent categories.
Why do you think that https://github.com/MagePsycho/magento2-product-discount-label is a good alternative to magento2-regenerate-catalog-urls