Reading Command Line Arguments

If you write very many command line utilities, you have likely had to read command line arguments many times. Since this is very much the same thing every time, it seems like a waste to write rigid and app-specific arg parsing to each program.

Instead, I have created some classes to read argument arrays and turn them into something more usable. I have published these classes in a Github Gist. The first comment on the Gist describes how it works and has usage examples.

If you include this in a shared assembly, it can be referenced from any console application and you’ll quickly and easily have arguments to work with.