<commit_before>using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;

namespace XmlDocMarkdown.Core
{
	/// <summary>
	/// Implements the command-line application.
	/// </summary>
	public sealed class XmlDocMarkdownApp
	{
		/// <summary>
		/// Run the command-line application.
		/// </summary>
		/// <param name="args">The command-line arguments.</param>
		/// <returns>The exit code.</returns>
		public static int Run(IReadOnlyList<string> args)
		{
			try
			{
				var argsReader = new ArgsReader(args);
				if (argsReader.ReadHelpFlag())
				{
					WriteUsage(Console.Out);
					return 0;
				}

				var isVerify = argsReader.ReadVerifyFlag();

				var settings = new XmlDocMarkdownSettings();
				settings.NewLine = argsReader.ReadNewLineOption();
				settings.SourceCodePath = argsReader.ReadSourceOption();
				settings.RootNamespace = argsReader.ReadNamespaceOption();
				settings.IncludeObsolete = argsReader.ReadObsoleteFlag();
				settings.SkipUnbrowsable = argsReader.ReadSkipUnbrowsableFlag();
				settings.VisibilityLevel = argsReader.ReadVisibilityOption();
				settings.ShouldClean = argsReader.ReadCleanFlag();
				settings.IsQuiet = argsReader.ReadQuietFlag();
				settings.IsDryRun = isVerify || argsReader.ReadDryRunFlag();
				settings.FrontMatter = argsReader.ReadFrontMatter();
				settings.PermalinkStyle = argsReader.ReadPermalinkStyle();
				settings.GenerateToc = argsReader.ReadTocFlag();
				settings.TocPrefix = argsReader.ReadTocPrefix();
				settings.NamespacePages = argsReader.ReadNamespacePagesFlag();
<commit_msg>Code style nit.<commit_after>using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;

namespace XmlDocMarkdown.Core
{
	/// <summary>
	/// Implements the command-line application.
	/// </summary>
	public sealed class XmlDocMarkdownApp
	{
		/// <summary>
		/// Run the command-line application.
		/// </summary>
		/// <param name="args">The command-line arguments.</param>
		/// <returns>The exit code.</returns>
		public static int Run(IReadOnlyList<string> args)
		{
			try
			{
				var argsReader = new ArgsReader(args);
				if (argsReader.ReadHelpFlag())
				{
					WriteUsage(Console.Out);
					return 0;
				}

				var isVerify = argsReader.ReadVerifyFlag();

				var settings = new XmlDocMarkdownSettings
				{
					NewLine = argsReader.ReadNewLineOption(),
					SourceCodePath = argsReader.ReadSourceOption(),
					RootNamespace = argsReader.ReadNamespaceOption(),
					IncludeObsolete = argsReader.ReadObsoleteFlag(),
					SkipUnbrowsable = argsReader.ReadSkipUnbrowsableFlag(),
					VisibilityLevel = argsReader.ReadVisibilityOption(),
					ShouldClean = argsReader.ReadCleanFlag(),
					IsQuiet = argsReader.ReadQuietFlag(),
					IsDryRun = isVerify || argsReader.ReadDryRunFlag(),
					FrontMatter = argsReader.ReadFrontMatter(),
					PermalinkStyle = argsReader.ReadPermalinkStyle(),
					GenerateToc = argsReader.ReadTocFlag(),
					TocPrefix = argsReader.ReadTocPrefix(),
					NamespacePages = argsReader.ReadNamespacePagesFlag(),
				};

{'fraction_non_alphanumeric': 0.11628664495114006, 'fraction_numerical': 0.0006514657980456026, 'mean_word_length': 3.921474358974359, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 21, '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': '7049460', 'n_tokens_mistral': 1068, 'n_tokens_neox': 887, 'n_words': 170}