CommandLine cmd = parser.parse(OPTIONS, args);
ClassLoader classLoader = Main.class.getClassLoader();
YaessLogInput source = create(cmd, OPT_INPUT, YaessLogInput.class, classLoader);
YaessLogOutput sink = create(cmd, OPT_OUTPUT, YaessLogOutput.class, classLoader);
Map<String, String> sourceArgs = parseArgs(cmd, OPT_INPUT_ARGUMENT);
Map<String, String> sinkArgs = parseArgs(cmd, OPT_OUTPUT_ARGUMENT);
return new Configuration(source, sourceArgs, sink, sinkArgs);
}