Command line argument parser for .Net

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. :)

Categories: Programming
Posted on: 2009-09-06 08:59 UTC.

Comments

Christian

2009-09-07 03:53 UTC

Sweet. Great job Sven!

Pouriya

2012-02-19 14:49 UTC

Thanks. very useful for me

Joe Lee

2012-07-19 17:39 UTC

I'm using find as you type addon but i'm missing a big feature, of searching inside text fields, text areas, etc. Just like it's possible in Chrome.
Do you plan to have this support sometime? If not, how complicated it is to implement it?

Thanks,
Joe

dot net training in chennai

2014-01-04 06:04 UTC

Very informative post.

voyance

2014-02-25 14:57 UTC

Tirage tarot gratuit et immediat test de compatibilite amoureuse astrologique

Add comment

Latest posts

Categories

Archive

Syndication

RSS Subscribe