CLAP console code example
Example: CLAP console
class ClapApp
{
[Verb]
public static void Foo(string bar, int count)
{
for (int i = 0; i < count; i++)
{
Console.WriteLine("This parser kicks {0}", bar);
}
}
}
class Program
{
static void Main(string[] args)
{
Parser.Run(args);
}
}