<commit_before>﻿using System;
using System.IO;

using log4net;
using log4net.Config;

namespace PackingHelper.Cli
{
    class Program
    {
        static void Main(string[] args)
        {
            XmlConfigurator.Configure(new FileInfo("PackingHelper.Cli.log4net.config"));
            var log = LogManager.GetLogger("main");

            try
            {
                if (args.Length > 0)
                {
                    var settingsFile = args[0];
                    log.DebugFormat("Settings File: {0}", settingsFile);

                    var configuration = new Configuration();
                    if (File.Exists(settingsFile))
                    {
                        log.Debug("File Found.");
                        configuration = Configurator.Read(settingsFile, log);
                    }
                    else
                    {
                        log.Debug("File Not Found.");
                    }

                    if (Directory.Exists(configuration.TaskTemplates))
                    {
                        log.Debug("Loading Task Templates.");
                        //process task sets
                    }

                    //write task file
                }
                else
                {<commit_msg>change todo format :)<commit_after>﻿using System;
using System.IO;

using log4net;
using log4net.Config;

namespace PackingHelper.Cli
{
    class Program
    {
        static void Main(string[] args)
        {
            XmlConfigurator.Configure(new FileInfo("PackingHelper.Cli.log4net.config"));
            var log = LogManager.GetLogger("main");

            try
            {
                if (args.Length > 0)
                {
                    var settingsFile = args[0];
                    log.DebugFormat("Settings File: {0}", settingsFile);

                    var configuration = new Configuration();
                    if (File.Exists(settingsFile))
                    {
                        log.Debug("File Found.");
                        configuration = Configurator.Read(settingsFile, log);
                    }
                    else
                    {
                        log.Debug("File Not Found.");
                    }

                    if (Directory.Exists(configuration.TaskTemplates))
                    {
                        log.Warn("TODO: Get User Entries");

                        log.Debug("Loading Task Templates.");
                        //process task sets
                    }

                    log.Warn("TODO: Write task file");
                }
                else
                {
{'fraction_non_alphanumeric': 0.08877086494688922, 'fraction_numerical': 0.004552352048558422, 'mean_word_length': 1.0129770992366411, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '3736376', 'n_tokens_mistral': 623, 'n_tokens_neox': 560, 'n_words': 126}