CommandFactory.add(new UploadMultipartArchiveCommand(endpoint, credentials));
CommandFactory.add(new AbortMultipartArchiveUploadCommand(endpoint, credentials));
}
// Find a valid one
AbstractCommand command = CommandFactory.get(options, optionParser);
// Execute it
command.exec(options, optionParser);
} catch (final IOException e) {
log.error("Ooops, something is wrong with the system configuration", e);
}
}