#!/usr/bin/env python3


###############################################################################
#
# dRep - main program entry point
#
###############################################################################

__author__ = "Matt Olm"
__license__ = "MIT"
__email__ = "mattolm@gmail.com"
__status__ = "Development"

import argparse
import os
import sys

if sys.version_info[0] < 3:
    print('''
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    !!! you're running dRep with python2 - you need python 3 !!!
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!''')
    sys.exit(1)

import drep.argumentParser
from drep.controller import Controller

if __name__ == '__main__':
    args = drep.argumentParser.parse_args(sys.argv[1:])
    # do what you came here to do :)
    Controller().parseArguments(args)
