<commit_before>using System;
using System.Linq;

namespace CommandRunner.Terminal
{
    internal class TerminalRunner : BaseRunner, IStartableRunner {
        private readonly TerminalState _state;
        internal TerminalRunner (TerminalState state) : base(state)
        {
            _state = state;
            Console.Title = _state.Title;
        }
        public void Start()
        {
            string input;
            do
            {
                Console.WriteLine("Setting foreground color to terminal color");
                Console.ForegroundColor = _state.TerminalColor;
                Printer.PrintLine();
                Printer.PrintMenu(_state);
                input = QueryForcommand();
                if (input == null)
                {
                    break;
                }
                var arguments = InputParser.ParseInputToArguments(input).ToList();
                Console.WriteLine();
                if (!arguments.Any())
                {
                    ConsoleWrite.WriteErrorLine(ErrorMessages.NoArgumentsProvided);
                    continue;
                }
                if (arguments[0] == "help")
                {
                    var identifier = input.Split(' ')[1];
                    var item = _state.NavigatableMenu.FirstOrDefault(x => x.Identifier == identifier);
                    if (item != null)
                    {
                        Console.WriteLine("Help for: {0}", item.Identifier);
                        Printer.PrintNavigatableItems(item.SubItems.OfType<NavigatableCommand>().ToList());<commit_msg>Remove log message about foreground color setting<commit_after>using System;
using System.Linq;

namespace CommandRunner.Terminal
{
    internal class TerminalRunner : BaseRunner, IStartableRunner {
        private readonly TerminalState _state;
        internal TerminalRunner (TerminalState state) : base(state)
        {
            _state = state;
            Console.Title = _state.Title;
        }
        public void Start()
        {
            string input;
            do
            {
                Console.ForegroundColor = _state.TerminalColor;
                Printer.PrintLine();
                Printer.PrintMenu(_state);
                input = QueryForcommand();
                if (input == null)
                {
                    break;
                }
                var arguments = InputParser.ParseInputToArguments(input).ToList();
                Console.WriteLine();
                if (!arguments.Any())
                {
                    ConsoleWrite.WriteErrorLine(ErrorMessages.NoArgumentsProvided);
                    continue;
                }
                if (arguments[0] == "help")
                {
                    var identifier = input.Split(' ')[1];
                    var item = _state.NavigatableMenu.FirstOrDefault(x => x.Identifier == identifier);
                    if (item != null)
                    {
                        Console.WriteLine("Help for: {0}", item.Identifier);
                        Printer.PrintNavigatableItems(item.SubItems.OfType<NavigatableCommand>().ToList());
{'fraction_non_alphanumeric': 0.08863564419119975, 'fraction_numerical': 0.001899335232668566, 'mean_word_length': 1.4048706240487063, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '3818698', 'n_tokens_mistral': 749, 'n_tokens_neox': 695, 'n_words': 147}