# imports - module imports
from frappe.integrations.frappe_providers.frappecloud import frappecloud_migrator


def migrate_to(local_site, frappe_provider):
	if frappe_provider in ("frappe.cloud", "frappecloud.com"):
		frappe_provider = "frappecloud.com"
		return frappecloud_migrator(local_site, frappe_provider)
	else:
		print("{} is not supported yet".format(frappe_provider))
		sys.exit(1)

# imports - standard imports
import sys

# imports - module imports
from frappe.integrations.frappe_providers.frappecloud import frappecloud_migrator


def migrate_to(local_site, frappe_provider):
	if frappe_provider in ("frappe.cloud", "frappecloud.com"):
		frappe_provider = "frappecloud.com"
		return frappecloud_migrator(local_site, frappe_provider)
	else:
		print("{} is not supported yet".format(frappe_provider))
		sys.exit(1)

add missed import