[Mono-list] What is the best way to parse command line arguments?
imphasing at gmail.com
Tue Dec 7 10:57:25 EST 2010
On Tue, Dec 7, 2010 at 10:50 AM, ArsenShnurkov <Arsen.Shnurkov at gmail.com> wrote:
> Life is Too Short to Parse Command Line Parameters
> System.Shell.CommandLine lives in the System.Core.dll assembly
> it was mistakenly public in the CTP — This was based on an intern project
> from a couple of years back that was mistakenly public in the .NET Framework
> 4.0 CTP.
> There is also:
> NDesk.Options — http://www.ndesk.org/Options It is implemented as a single
> C# source file (1,112 lines of code)
> NConsoler — http://nconsoler.csharpus.com/
> Mono.GetOptions —
> WPF TestApi library —
> csharpoptparse — http://sourceforge.net/projects/csharpoptparse/
> GNU Getopt .NET — http://getopt.codeplex.com/
> What is the best option?
My personal preference is Mono.GetOptions. Very easy to work with.
More information about the Mono-list