from new import new_project
from activate import activate
from stage import stage
from convert import convert
from pre_process import pre_process
from process import process
from transform import transform
from load_recid_db import load_recid_db
from load_recid_flat import load_recid_flat
from compare import compare
from report import report
from validate_rules import validate_rules
from test import test
from datadump import datadump
from load_rules import load_rules
from copy_rules import copy_rules
from datadump import datadump
from cleanup import cleanup
from update_metadata import update_metadata
from predict import predict
from account import *
from ..run import run_compare
from ..run import run_stage
from ..run import run_process
from ..run import run_pre_process
from ..run import run_datadump
from ..run import run_recid_load
from ..run import run_load_rules
from ..run import run_transform
from ..run import run_validate_rules
from ..run import run_convert
from ..run import run_predict
from ..recid_rules_flat.control import run as run_recid_flat_load

cmd_map = {
  'add_user': add_user,
  'update_user': update_user,
  'drop_user': drop_user,
  'new_project': new_project,
  'activate': activate,
  'cleanup': cleanup,
  'convert': convert,
  'stage': stage,
  'pre_process': pre_process,
  'process': process,
  'transform': transform,
  'load_recid_db': load_recid_db,
  'load_recid_flat': load_recid_flat,
  'compare': compare,
  'report': report,
  'validate_rules': validate_rules,
  'test': test,
  'load_rules': load_rules,
  'copy_rules': copy_rules,
  'update_metadata': update_metadata,
  'datadump': datadump,
  'predict': predict,
  
}

run_map = {
  'compare': run_compare,
  'stage': run_stage,
  'process': run_process,
  'convert': run_convert,
  'datadump': run_datadump,
  'pre_process': run_pre_process,
  'load_recid_db': run_recid_load,
  'load_rules': run_load_rules,
  'transform': run_transform,
  'load_recid_flat': run_recid_flat_load,
  'validate_rules': run_validate_rules,
  'predict': run_predict,
}