Skip to content
gsscoder edited this page May 20, 2012 · 30 revisions

The instructions contained here will help you to use Command Line Parser Library in short time and with little effort.

Get It

Create a Console Application with Visual Studio and write this command at Package Manager Console:

PM> Install-Package CommandLine

If you prefer source inclusion (as I recommend), follow these steps to get only required sources:

$ cd to/your/project/folder
$ wget https://github.com/gsscoder/commandline/raw/master/src/libcmdline/CommandLine.cs
$ wget https://github.com/gsscoder/commandline/raw/master/src/libcmdline/CommandLineText.cs

If you download binary package from CodePlex, add a reference to CommandLine.dll using your preferred development environment. Let your code view library's public types.

using CommandLine;
using CommandLine.Text; // if you want text formatting helpers (recommended)

[WORK IN PROGRESS]