<commit_before>/** Copyright (C) 2016, 2017 European Spallation Source ERIC */

/** @file
 *
 *  @brief Command line argument parser for EFU
 */

#pragma once
#include <CLI11.hpp>
#include <common/Detector.h>
#include <cstdint>
#include <multigrid/mgcncs/ChanConv.h>
#include <string>

struct GraylogSettings {
  std::string address;
  std::uint16_t port;
};

struct ThreadCoreAffinitySetting {
  std::string Name;
  std::uint16_t Core;
};

class EFUArgs {
public:
  enum class Status { EXIT, CONTINUE };
  EFUArgs();
  Status parseFirstPass(const int argc, char *argv[]);
<commit_msg>Removed unused include statement.<commit_after>/** Copyright (C) 2016, 2017 European Spallation Source ERIC */

/** @file
 *
 *  @brief Command line argument parser for EFU
 */

#pragma once
#include <CLI11.hpp>
#include <common/Detector.h>
#include <cstdint>
#include <string>

struct GraylogSettings {
  std::string address;
  std::uint16_t port;
};

struct ThreadCoreAffinitySetting {
  std::string Name;
  std::uint16_t Core;
};

class EFUArgs {
public:
  enum class Status { EXIT, CONTINUE };
  EFUArgs();
  Status parseFirstPass(const int argc, char *argv[]);

{'fraction_non_alphanumeric': 0.12771503040834056, 'fraction_numerical': 0.02432667245873154, 'mean_word_length': 4.702970297029703, 'pattern_counts': {'":': 0, '<': 12, '<?xml version=': 0, '>': 12, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4909638', 'n_tokens_mistral': 423, 'n_tokens_neox': 391, 'n_words': 113}