private IExecutionStrategy createExecuteTask(final IExecutionStrategy nextStep) {
    return parseResult -> {
      commandLine.setExecutionStrategy(nextStep);
      // At this point we don't allow unmatched options since plugins were already registered
      commandLine.setUnmatchedArgumentsAllowed(false);
      return commandLine.execute(parseResult.originalArgs().toArray(new String[0]));
    };
  }
Parses command line arguments and configures the application accordingly.

@param resultHandler The strategy to handle the execution result.
@param parameterExceptionHandler Handler for exceptions related to command line parameters.
@param executionExceptionHandler Handler for exceptions during command execution.
@param in The input stream for commands.
@param besuComponent The Besu component.
@param args The command line arguments.
@return The execution result status code.
app/src/main/java/org/hyperledger/besu/cli/BesuCommand.java