TemplateGenerator generator = getGenerator(cmd);
DmdlSourceRepository repository = getRepository(cmd);
ClassLoader classLoader = getClassLoader(cmd);
task = new GenerateTask(generator, repository, classLoader);
} catch (Exception e) {
HelpFormatter formatter = new HelpFormatter();
formatter.setWidth(Integer.MAX_VALUE);
formatter.printHelp(
MessageFormat.format(
"java -classpath ... {0}",
Main.class.getName()),
OPTIONS,
true);