def METHOD_NAME():
    """Main entry point"""
    parser = argparse.ArgumentParser()
    parser.add_argument("-d", "--device", help="Device name")
    parser.add_argument("-t", "--thumbprint", help="Device thumbprint")
    parser.add_argument("-u", "--hub", help="IoT Hub")
    parser.add_argument("-s", "--name", help="Name of the IoT hub SAS policy")
    parser.add_argument("-v", "--verbose", help="Verbosity", action="count", default=0)
    args = parser.parse_args()
    try:
        os.environ["SASKEYIOTHUB"]
    except KeyError:
        print("Error environment variable SASKEYIOTHUB not set")
        sys.exit(1)
    devname = args.device
    thprint = args.thumbprint
    hub = args.hub
    sas_name = args.name
    verbose = args.verbose
    delete_device(devname, hub, sas_name)
    upload_device_cert(devname, thprint, hub, sas_name, verbose)