}
}
}
// Check required arguments / options
for (Option option : options.keySet()) {
if (option.required() && optionValues.get(option) == null) {
Command command = action.getClass().getAnnotation(Command.class);
if (command != null) {
throw new CommandException(COLOR_RED
+ "Error executing command "
+ command.scope() + ":"