code: protected Path createTempDirectory(String prefix) {
          try {
              return Files.createTempDirectory(tempDirectory, prefix);
          } catch (IOException e) {
              throw new AllureCommandException(e);
          }
      }
docs: Creates an temporary directory. The created directory will be deleted when
  command will ended.