else if (argsParser.getArgumentCount() >= 2) {
LOGGER.info("GCViewer command line mode");
String gcfile = argsParser.getGcfile();
String summaryFilePath = argsParser.getSummaryFilePath();
String chartFilePath = argsParser.getChartFilePath();
DataWriterType type = argsParser.getType();
//export summary:
try {
export(gcfile, summaryFilePath, chartFilePath, type);
LOGGER.info("export completed successfully");