in src/main/java/com/epam/digital/data/platform/history/HistoryExcerptorApplication.java [53:58]
private String getTableName(ApplicationArguments args) {
return Optional.ofNullable(args.getOptionValues("tableName"))
.filter(table -> table.size() == 1)
.map(table -> table.get(0))
.orElseThrow(() -> new IllegalArgumentException("Invalid table name specification"));
}