public static void parseFromFile(String inputFile, String outputFile) throws IOException {
    try (SchemaLogReader<ISchemaRegionPlan> mLogReader =
            new SchemaLogReader<>(
                inputFile, new FakeCRC32Deserializer<>(new SchemaRegionPlanDeserializer()));
        SchemaLogWriter<ISchemaRegionPlan> mLogTxtWriter =
            new SchemaLogWriter<>(
                outputFile, new BufferedSerializer<>(new SchemaRegionPlanTxtSerializer()), false)) {
      ISchemaRegionPlan plan;
      while (mLogReader.hasNext()) {
        plan = mLogReader.next();
        mLogTxtWriter.write(plan);
      }
      mLogTxtWriter.force();
    }
  }
create the commandline options.

@return object Options
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/tools/schema/MLogParser.java