@Override
  public void run() {
    LogConfigurator.setLevel("", "OFF");

    for (var hexCode : codeList) {
      Bytes container;
      try {
        container = Bytes.fromHexString(hexCode);
      } catch (IllegalArgumentException e) {
        parentCommand.out.println("Invalid hex string: " + e.getMessage());
        continue;
      }
      String fork = EvmSpecVersion.FUTURE_EIPS.getName();
      if (parentCommand.hasFork()) {
        fork = parentCommand.getFork();
      }
      ProtocolSpec protocolSpec = ReferenceTestProtocolSchedules.getInstance().geSpecByName(fork);
      EVM evm = protocolSpec.getEvm();
      if (evm.getEvmVersion().getMaxEofVersion() < 1
          || container.get(0) != ((byte) 0xef)
          || container.get(1) != 0) {
        Code code = evm.getCodeUncached(container);
        parentCommand.out.print(code.prettyPrint());
        parentCommand.out.flush();
      } else {
        EOFLayout layout = evm.parseEOF(container);
        if (layout.isValid()) {
          var validatedCode = evm.getCodeUncached(container);
          if (validatedCode.isValid() || force) {
            layout.prettyPrint(parentCommand.out);
          }
          if (validatedCode instanceof CodeInvalid codeInvalid) {
            parentCommand.out.println("EOF code is invalid - " + codeInvalid.getInvalidReason());
          }
          if (layout.container().size() != container.size()) {
            parentCommand.out.println(
                "EOF code is invalid - dangling data after container - "
                    + container.slice(layout.container().size()).toHexString());
          }
        } else {
          parentCommand.out.println("EOF layout is invalid - " + layout.invalidReason());
        }
      }
    }
  }
Constructs a new PrettyPrintSubCommand with the specified parent command.

@param parentCommand The parent command for this subcommand. This is typically an instance of
    EvmToolCommand.
ethereum/evmtool/src/main/java/org/hyperledger/besu/evmtool/PrettyPrintSubCommand.java