Every developer has at some point in time written code to interpret the command line arguments of their program. Of course, I'm no exception. When I was recently in need of a quick way to parse the arguments for a whole bunch of different scenarios, I decided to go the extra mile and just write a generalised class that would let you easily define what arguments you want and then parses it for you.
I've now made that class available, in the Ookii.CommandLine class library.
It's very easy to use. Just create a class, and the constructor parameters of that class, as well as properties marked with a special attribute, will make up the command line arguments of your application. It can even create help text for the command line usage of your application.
More information, documentation, downloads and samples at the link above.
Yeah, I know there's a lot of similar stuff out there already. Now there's one more. :)
Comments are closed for this post. Sorry.