Jardiance: Why are these people so jazzed about having Type I diabetes?

It's infuriating, there are other ways to lose weight. Why in the hell are doctors allowed to prescribe essential meds that can't be obtained for the people who actually have diabetes? Or is it simply a weight loss drug being touted as a diabetes drug?