Introduction

The Command Line Parser Library offers to CLR applications a simple programming interface for manipulating command line input. This library allows you to display an help screen with a good degree of customization. The API keeps on its shoulders everything boring to code (or I hope so, if not suggestions are always welcome!).

How it works?

The command line input, read from the standard entry point as string array, is then pushed in an instance of custom type decorated with library attributes. You just create this class with one field for each option value you want to make persistent (and a special field for non-option values). Rules about command line options are engraved in your custom type from library attributes. The library source code contains a sample application that will clarify all told up to this moment.

Consuming the Code

The project is entirely written in C# and is also thought to be included in another (C#) project. Anyway you can reference the library as binary DLL file, consuming it from any .NET language. Depending on your IDE, It's possible to take advantage of documentation comments attached to any publicly visible members.

Input Specification

User can specify options with a high degree of freedom.
This Unix-like specification survives from years and years...
However, you can read all details about it here: Input Specification.

Reason to Use

Features

  • Simple API
  • Compatibility
    • .NET Framework 2.0+
    • Mono Profile 2.0+
  • Tested
    • Each release is tested with Mono on Linux.
    • Contains unit tests from first release.

Contacts

For go deeper on the usage, for bug reports and features requests:
Author's Blog
Author's E-Mail
Remember also to take advantage of all greats CodePlex features.

Support

If you use this project and you want help the author to evolve it over time, please consider make a donation.
Donations are made through PayPal Donate button present in the author's blog (gsscoder.blogspot.com).
Last edited Apr 12 at 10:03 AM by gsscoder, version 63

 

Want to leave feedback?
Please use Discussions or Reviews instead.

Archived page comments (3)

Updating...
© 2006-2009 Microsoft | About CodePlex | Privacy Statement | Terms of Use | Code of Conduct | Version 2009.6.1.15196