if (argparser.isSet(Arg.HEADLESS))
headless = argparser.getBool(Arg.HEADLESS);
- boolean commandsSuccess = Commands.processArgs(argparser, headless);
- if (commandsSuccess)
- {
- Console.info("Successfully completed commands");
- if (headless)
- System.exit(0);
- }
- else
- {
- Console.warn("Error when running commands");
- if (headless)
- System.exit(1);
- }
if (!Platform.isJS())
/**
}
}
}
+ // Run Commands from cli
+ boolean commandsSuccess = Commands.processArgs(argparser, headless);
+ if (commandsSuccess)
+ {
+ Console.info("Successfully completed commands");
+ if (headless)
+ System.exit(0);
+ }
+ else
+ {
+ Console.warn("Error when running commands");
+ if (headless)
+ System.exit(1);
+ }
// Check if JVM and compile version might cause problems and log if it
// might.