public void CreateBaseline()
        {
            AssignRelativePathsAndReportNamesToCommands();

            if (!TryCreateTemplates())
            {
                throw new Exception("There were problems creating the templates to compare.");
            }

            BaselineReportCreator reportCreator = new BaselineReportCreator(_masterDataBasePath, _secondaryDataBasePath, _invocationUnits, _unitNameAndCommandToDataPathMap, _unitNameAndCommandToReportFileMap);

            reportCreator.WriteAllBaselineComparisons(_reportDir, NewCommand);
        }
        public void CreateBaselineComparison(bool debugCompareOnly)
        {
            if (!debugCompareOnly)
            {
                CopyExistingBaseline();
            }

            ReadBaselineMasterReport();
            AssignRelativePathsAndReportNamesToCommandsFromMasterReport();

            if (!debugCompareOnly)
            {
                if (!TryCreateTemplates())
                {
                    throw new Exception("There were problems creating the templates to compare.");
                }
            }

            IReadOnlyList<InvocationUnit> invocationUnits = _masterReport.Invocations.Select(x => InvocationUnit.FromInvocationBaselineUnit(x)).ToList();
            BaselineReportCreator reportCreator = new BaselineReportCreator(_masterDataBasePath, _comparisonDataDir, invocationUnits, _unitNameAndCommandToDataPathMap, _unitNameAndCommandToReportFileMap);
            reportCreator.WriteAllBaselineComparisons(_comparisonReportDir, _masterReport.NewCommand);
        }