#!/opt/panel-migrator-python/bin/python
# vim:filetype=python

import sys
import os.path

# include all directories where migrator source code is located to sys.path
script_dir = os.path.dirname(__file__)
sys.path.extend(os.path.join(script_dir, name) for name in (
	'move-subscriptions',
	'utils', 'common', 
	'plesk-api', 'poa-api', 'ppab-api', 'expand-api',
	'plesks-migrator', 'expand-migrator', 
	'hsphere-migrator', 'helm-migrator', 'helm3-migrator', 'pbas-migrator', 
	'pmm-unix-migrator',
	'ppcpl-migrator',
	'confixx-migrator',
	'target-panel-plesk', 'target-panel-ppa',
	'hosting-check',
))

from parallels.move_subscriptions.cli import run

if __name__ == '__main__':
	sys.exit(run(script_dir, sys.argv[1:]))

