def parseArgs():
    parser = ArgumentParser(add_help=False)
    parser.add_argument('-a', '--action', help='Please select an option out of <discover, manage, settings>', type=str, required=True)
    parser.add_argument('-f', '--file', help='Please specify absolute path to initial dataset', type=str)
    args = parser.parse_args()
    args.file = 'C:\\Users\\flietz\\OneDrive - TU Wien\\!Studium\\1_MSc\\!Diplomarbeit\\code\\pipeline\\resources\\dataset\\Mail_ApplicationDummy.csv'
    if ((args.action is None) or (args.action not in ('discover', 'manage', 'settings'))):
        sys.exit('Please specify an action out of <"discover", "manager", "settings">')
    if ((args.action == 'discover') and ((args.file is None) or (not path.exists(args.file)))):
        sys.exit('The input file could not be found in the filesystem.')
    arguments = {'file': args.file}
    return (args.action, arguments)
def parseArgs():
    parser = ArgumentParser(add_help=False)
    parser.add_argument('-a', '--action', help='Please select an option out of <discover, manage, settings>', type=str, required=True)
    parser.add_argument('-f', '--file', help='Please specify absolute path to initial dataset', type=str)
    args = parser.parse_args()
    args.file = 'C:\\Users\\flietz\\OneDrive - TU Wien\\!Studium\\1_MSc\\!Diplomarbeit\\code\\pipeline\\resources\\dataset\\Mail_ApplicationDummy.csv'
    if ((args.action is None) or (args.action not in ('discover', 'manage', 'settings'))):
        sys.exit('Please specify an action out of <"discover", "manager", "settings">')
    if ((args.action == 'discover') and ((args.file is None) or (not path.exists(args.file)))):
        sys.exit('The input file could not be found in the filesystem.')
    arguments = {'file': args.file}
    return (args.action, arguments)