<commit_before>﻿using NLog;

namespace coreDox.New
{
    internal class NewVerb
    {
        public ILogger _logger = LogManager.GetLogger("NewVerb");

        public NewVerb(NewOptions newOptions)
        {
            if(!string.IsNullOrEmpty(newOptions.Exporter))
            {
                
            }
            else
            {
                _logger.Info($"Creating a new project in folder '{newOptions.DocFolder}' ...");
                _logger.Info("Project created successfully!");
            }
        }
    }
}<commit_msg>Added Project creation / add exporter<commit_after>﻿using coreDox.Core.Model.Documentation;
using NLog;

namespace coreDox.New
{
    internal class NewVerb
    {
        public ILogger _logger = LogManager.GetLogger("NewVerb");

        public NewVerb(NewOptions newOptions)
        {
            if(!string.IsNullOrEmpty(newOptions.Exporter))
            {
                _logger.Info($"Adding '{newOptions.Exporter}' to project in folder '{newOptions.DocFolder}' ...");

                var doxProject = DoxProject.Load(newOptions.DocFolder);
                doxProject.Save();

                _logger.Info("Exporter added successfully!");
            }
            else
            {
                _logger.Info($"Creating a new project in folder '{newOptions.DocFolder}' ...");

                DoxProject.New(newOptions.DocFolder);

                _logger.Info("Project created successfully!");
            }
        }
    }
}
{'fraction_non_alphanumeric': 0.10465901417960838, 'fraction_numerical': 0.0, 'mean_word_length': 1.7649253731343284, 'pattern_counts': {'":': 0, '<': 3, '<?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': '6866160', 'n_tokens_mistral': 403, 'n_tokens_neox': 384, 'n_words': 73}