CommandFactory.add(new DownloadArchiveCommand(endpoint, credentials));
CommandFactory.add(new ReceiveArchivesListCommand(endpoint, credentials));
CommandFactory.add(new RequestArchivesListCommand(endpoint, credentials));
CommandFactory.add(new TreeHashArchiveCommand(endpoint, credentials));
CommandFactory.add(new UploadArchiveCommand(endpoint, credentials));
CommandFactory.add(new UploadMultipartArchiveCommand(endpoint, credentials));
CommandFactory.add(new AbortMultipartArchiveUploadCommand(endpoint, credentials));
}
// Find a valid one
AbstractCommand command = CommandFactory.get(options, optionParser);