# 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"):
		return frappecloud_migrator(local_site)
	else:
		print("{} is not supported yet".format(frappe_provider))
		sys.exit(1)
