Search Wiki:

News

22 July 2008 Released Version 1.3.7 rc0.
05 May 2008 Released Version 1.3.3 beta.
27 April 2008 Released Version 1.3.1 beta.

Introduction

The Command Line Parser Library offers to .NET applications a simple programming interface for manipulating command line input. The library also 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.

Source/Binary

The project is entirely written in C# and is also thought to be included in another project (in this case the language used must match). If you reference the library as binary DLL file (obviously from any .NET language) you can take advantage (depending on your IDE) 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
...and all greats CodePlex website facilities!
Last edited Jul 22 at 5:32 PM  by gsscoder, version 52
Comments
kweinert wrote  Jul 22 at 7:10 PM  
I really appreciate the author's responsiveness to my request and his communications with me to sort out what I really meant and how I envisioned it working. A real nice guy to work with.

Updating...