code: public static void main(String[] args) throws Exception {
          final CodeGeneratorConfig config = new CodeGeneratorConfig();
          final JCommander commander = new JCommander(config);
          commander.parse(args);
  
          if (config.help) {
              commander.usage();
              System.exit(0);
          }
  
          // make sure the logger is initialized
          CodeGeneratorLoggerFactory.setLogger(new CodeGeneratorSimpleLogger());
  
          // iff baseFolder is null or empty, reset it to the default value
          config.baseFolder = StringUtils.defaultIfEmpty(config.baseFolder, "GUIData");
  
          // create the helper with our config
          CodeGeneratorHelper helper = new CodeGeneratorHelper(config);
  
          if (CodeGeneratorLoggerFactory.getLogger().isDebugEnabled()) {
              helper.displayProjectInformation();
          }
  
          // register all custom element classes
          helper.registerCustomElements();
  
          // process the files.
          helper.processFiles();
      }
docs: Main Entry
  
  @param args
  @throws Exception