public GitignoreGetCommand(IApplicationCommandHandler <GitignoreGetCommand> commandHandler,
                                   IConcatedNamesProcessor concatedNamesProcessor)
        {
            _commandHandler         = commandHandler ?? throw new ArgumentNullException(nameof(commandHandler));
            _concatedNamesProcessor = concatedNamesProcessor ?? throw new ArgumentNullException(nameof(concatedNamesProcessor));

            ConfigureCommandLineApplication();
        }
 public GitignoreGetCommandHandler(IGitignoreService gitignoreService,
                                   IConcatedNamesProcessor concatedNamesProcessor,
                                   IMergeStrategy mergeStrategy,
                                   IGitignoreFileWriter gitignoreFileWriter)
 {
     _gitignoreService       = gitignoreService ?? throw new ArgumentNullException(nameof(gitignoreService));
     _concatedNamesProcessor = concatedNamesProcessor ?? throw new ArgumentNullException(nameof(concatedNamesProcessor));
     _mergeStrategy          = mergeStrategy ?? throw new ArgumentNullException(nameof(mergeStrategy));
     _gitignoreFileWriter    = gitignoreFileWriter ?? throw new ArgumentNullException(nameof(gitignoreFileWriter));
 }