This repository was archived by the owner on Jul 11, 2018. It is now read-only.
forked from gsscoder/commandline
-
Notifications
You must be signed in to change notification settings - Fork 11
Quickstart
gsscoder edited this page May 20, 2012
·
29 revisions
The instructions contained here will help you to use Command Line Parser Library in short time and with little effort.
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]