String failureDir = cl.getArgs()[1];
int numFileThreads = Integer.parseInt(cl.getOptionValue(numFileThreadsOpt.getOpt(), DEFAULT_FILE_THREADS));
int numAssignThreads = Integer.parseInt(cl.getOptionValue(numAssignThreadsOpt.getOpt(), DEFAULT_ASSIGN_THREADS));
boolean disableGC = cl.hasOption(disableGCOpt.getOpt());
AssignmentStats stats = shellState.connector.tableOperations().importDirectory(shellState.tableName, dir, failureDir, numFileThreads, numAssignThreads,
disableGC);
if (cl.hasOption(verboseOption.getOpt()))
shellState.reader.printString(stats.toString());
return 0;
}