code: public static void main(final String[] args) throws Exception {
          if (args.length != 2) {
              throw new RuntimeException("Invalid build configuration. No command-line arguments specified");
          }
          final var buildDir = args[0];
          final var projectDir = args[1];
          new ConfigurationMetadataGenerator(buildDir, projectDir).execute();
      }
docs: Main.
  
  @param args the args
  @throws Exception the exception