Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 787 Bytes

File metadata and controls

21 lines (16 loc) · 787 Bytes

Isop

This project is intended to collect some of the helpers for console applications. The hope is that this will simplify the design of such programs.

Goal

The goal is to be able to write code like:

someprogram.exe My Action --argument value

And hooking it up by writing something like:
static void Main(string[] args)
{
  Console.WriteLine(ArgumentParser.Build()
                .Recognize(typeof(MyController))
                .Parse(args)
                .Invoke());
}

So that the class with the name My or MyController and the method with the name Action gets invoked.

Example

Look at the Example project for the most recent example of how it is used.