<commit_before>#include "vast/configuration.h"
#include "vast/file_system.h"
#include "vast/logger.h"
#include "vast/string.h"
#include "vast/type_info.h"
#include "vast/detail/type_manager.h"

namespace vast {

std::string configuration::banner() const
{
  std::stringstream ss;
  ss << " _   _____   __________\n"
        "| | / / _ | / __/_  __/\n"
        "| |/ / __ |_\\ \\  / /\n"
        "|___/_/ |_/___/ /_/  " << VAST_VERSION;<commit_msg>Add colors to command line help banner.<commit_after>#include "vast/configuration.h"
#include "vast/file_system.h"
#include "vast/logger.h"
#include "vast/string.h"
#include "vast/type_info.h"
#include "vast/detail/type_manager.h"
#include "vast/util/color.h"

namespace vast {

std::string configuration::banner() const
{
  std::stringstream ss;
  auto colorize = ! check("log.no-colors");
  if (colorize)
    ss << util::color::red;

  ss << "     _   _____   __________\n"
        "    | | / / _ | / __/_  __/\n"
        "    | |/ / __ |_\\ \\  / /\n"
        "    |___/_/ |_/___/ /_/  ";

  if (colorize)
    ss << util::color::yellow;

  ss << VAST_VERSION;

  if (colorize)
    ss << util::color::reset;
{'fraction_non_alphanumeric': 0.1903114186851211, 'fraction_numerical': 0.0, 'mean_word_length': 2.615625, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 3, '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': '1043462', 'n_tokens_mistral': 457, 'n_tokens_neox': 429, 'n_words': 71}