News
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 BlogAuthor's E-Mail...and all greats
CodePlex website facilities!