assert args != null;
GenerateTask task;
try {
CommandLineParser parser = new BasicParser();
CommandLine cmd = parser.parse(OPTIONS, args);
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();