<commit_before># RichTea.CommandLineParser
This project provides a command line parsing utility.

## Cake Tasks
This project uses [Cake](https://cakebuild.net)!
* cake -target=Clean
* cake -target=Restore-Nuget-Packages
* cake -target=Build
* cake -target=Test

## CI

|        | Windows | Linux |
| ------ | --------|-------|
| Master | [![Build status](https://ci.appveyor.com/api/projects/status/gg7er3fta9sjxy5m/branch/master?svg=true)](https://ci.appveyor.com/project/RichTeaMan/commandlineparser/branch/master) | [![Build Status](https://travis-ci.org/RichTeaMan/CommandLineParser.svg?branch=master)](https://travis-ci.org/RichTeaMan/CommandLineParser) |

## Example
```

static void Main(string[] args)
{
    MethodInvoker command = null;
    try
    {
        command = new CommandLineParserInvoker().GetCommand(typeof(Program), args);
    }
    catch (Exception ex)
    {
        Console.WriteLine("Error parsing command:");
        Console.WriteLine(ex);
    }
    if (command != null)
    {
        try
        {
            command.Invoke();
        }
        catch (Exception ex)
        {
            Console.WriteLine("Error running command:");<commit_msg>Code snippet is explicitly C#.<commit_after># RichTea.CommandLineParser
This project provides a command line parsing utility.

## Cake Tasks
This project uses [Cake](https://cakebuild.net)!
* cake -target=Clean
* cake -target=Restore-Nuget-Packages
* cake -target=Build
* cake -target=Test

## CI

|        | Windows | Linux |
| ------ | --------|-------|
| Master | [![Build status](https://ci.appveyor.com/api/projects/status/gg7er3fta9sjxy5m/branch/master?svg=true)](https://ci.appveyor.com/project/RichTeaMan/commandlineparser/branch/master) | [![Build Status](https://travis-ci.org/RichTeaMan/CommandLineParser.svg?branch=master)](https://travis-ci.org/RichTeaMan/CommandLineParser) |

## Example
```C#

static void Main(string[] args)
{
    MethodInvoker command = null;
    try
    {
        command = new CommandLineParserInvoker().GetCommand(typeof(Program), args);
    }
    catch (Exception ex)
    {
        Console.WriteLine("Error parsing command:");
        Console.WriteLine(ex);
    }
    if (command != null)
    {
        try
        {
            command.Invoke();
        }
        catch (Exception ex)
        {
            Console.WriteLine("Error running command:");
{'fraction_non_alphanumeric': 0.15713680643795003, 'fraction_numerical': 0.0033883947479881405, 'mean_word_length': 2.910596026490066, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 10, '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': '2031635', 'n_tokens_mistral': 749, 'n_tokens_neox': 727, 'n_words': 130}