public void validate(final CommandLine commandLine) {
    String errorMessage =
        String.format(
            "%s and %s option can only be used when %s is true",
            DEFAULT_PLUGINS_OPTION_NAME,
            DEFAULT_CONTINUE_ON_PLUGIN_ERROR_OPTION_NAME,
            DEFAULT_PLUGINS_EXTERNAL_ENABLED_OPTION_NAME);
    CommandLineUtils.failIfOptionDoesntMeetRequirement(
        commandLine,
        errorMessage,
        externalPluginsEnabled,
        List.of(DEFAULT_PLUGINS_OPTION_NAME, DEFAULT_CONTINUE_ON_PLUGIN_ERROR_OPTION_NAME));
  }
Validate that there are no inconsistencies in the specified options.

@param commandLine the full commandLine to check all the options specified by the user
app/src/main/java/org/hyperledger/besu/cli/options/PluginsConfigurationOptions.java