<commit_before>﻿using System;
using System.IO;
using Eurofurence.App.Server.Services.Abstractions.Images;
using Eurofurence.App.Server.Services.Abstractions.Maps;
using Microsoft.Extensions.CommandLineUtils;
using Eurofurence.App.Domain.Model.Maps;
using System.Collections.Generic;

namespace Eurofurence.App.Tools.CliToolBox.Commands
{
    public class MapCommand : ICommand
    {
        private readonly IImageService _imageService;

        private readonly IMapService _mapService;

        public MapCommand(IMapService mapService, IImageService imageService)
        {
            _mapService = mapService;
            _imageService = imageService;
        }

        public string Name => "map";

        public void Register(CommandLineApplication command)
        {
            command.HelpOption("-?");
            command.Command("loadImage", loadImageCommand);
            command.Command("list", listCommand);
        }

        private void listCommand(CommandLineApplication command)
        {
            command.OnExecute(() =>
            {<commit_msg>Registering new map commands in cli toolbox<commit_after>﻿using System;
using System.IO;
using Eurofurence.App.Server.Services.Abstractions.Images;
using Eurofurence.App.Server.Services.Abstractions.Maps;
using Microsoft.Extensions.CommandLineUtils;
using Eurofurence.App.Domain.Model.Maps;
using System.Collections.Generic;

namespace Eurofurence.App.Tools.CliToolBox.Commands
{
    public class MapCommand : ICommand
    {
        private readonly IImageService _imageService;

        private readonly IMapService _mapService;

        public MapCommand(IMapService mapService, IImageService imageService)
        {
            _mapService = mapService;
            _imageService = imageService;
        }

        public string Name => "map";

        public void Register(CommandLineApplication command)
        {
            command.HelpOption("-?");
            command.Command("loadImage", loadImageCommand);
            command.Command("list", listCommand);
            command.Command("create", createCommand);
            command.Command("update", updateCommand);
        }

        private void listCommand(CommandLineApplication command)
        {
            command.OnExecute(() =>
            {
{'fraction_non_alphanumeric': 0.08413672217353199, 'fraction_numerical': 0.0, 'mean_word_length': 2.8113522537562603, 'pattern_counts': {'":': 0, '<': 3, '<?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': '5042427', 'n_tokens_mistral': 586, 'n_tokens_neox': 569, 'n_words': 120}