public static void UpdateDocumentationIfLooksLikeAFullRun()
        {
            if (!RunStartedProperly)
            {
                return;
            }

            for (var version = OutputVersions.Summary; version <= OutputVersions.DetailWithSql; version++)
            {
                MarkupFileHelpers.WriteTextToFileInMarkup(NamesOfDocumentationFilesForVersions[(int)version], ResultsAsMarkup(version));
            }
        }
        private static StringBuilder BuildHeaderAsMarkup(OutputVersions version)
        {
            var sb = new StringBuilder();
            var delegateDecompilerAssembly = Assembly.GetAssembly(typeof(ComputedAttribute));

            sb.AppendFormat("{0} of supported commands\n============\n", version.ToString().SplitCamelCase());

            sb.AppendFormat(CultureInfo.InvariantCulture, "## Documentation produced for {0}, version {1} on {2:f}\n",
                            delegateDecompilerAssembly.GetName().Name,
                            delegateDecompilerAssembly.GetCustomAttribute <AssemblyFileVersionAttribute>().Version,
                            DateTime.Now);

            sb.Append(MarkupFileHelpers.SearchMarkupForSingleFileReturnContent(HeaderTestFilename));
            sb.AppendLine();

            return(sb);
        }