LilyRuntime runtime = new LilyRuntime(settings);
if (cmd.hasOption(modeOption.getOpt())) {
String optionValue = cmd.getOptionValue(modeOption.getOpt());
Mode mode = Mode.byName(optionValue);
runtime.setMode(mode);
}
if (cmd.hasOption(versionOption.getOpt())) {
System.out.println(runtime.buildModel().moduleInfo(System.getProperty("lilyruntime.info.module")));