String[] args = commandLine.getArgs();
if (args.length > 0) {
Command command = commands.get(args[0].toLowerCase());
if (command != null) {
AbstractCommandLineApp app = command.appClass.newInstance();
app.run(app.parseArgs(shift(originalArgs)));
return;
}
printUsageAndExit(-1);
}
if (commandLine.hasOption(HELP_OPTION.getLongOpt())) {