for (Command command : commands) {
runner.addCommand(command);
}
runner.setOptionCommands(HelpCommand.class, VersionCommand.class);
int exitCode = runner.runAndHandleErrors(args);
handleRunnerExitCode(runner, exitCode);
}
protected void handleRunnerExitCode(CommandRunner runner, int exitCode) {
if (exitCode != 0) {