[Mono-list] What is the best way to parse command line arguments?

ArsenShnurkov Arsen.Shnurkov at gmail.com
Tue Dec 7 10:50:35 EST 2010


Life is Too Short to Parse Command Line Parameters

http://tirania.org/blog/archive/2009/Feb-21.html

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 —
https://github.com/mono/mono/tree/master/mcs/class/Mono.Options/
WPF TestApi library —
http://blogs.msdn.com/b/ivo_manolov/archive/2008/12/17/9230331.aspx
csharpoptparse — http://sourceforge.net/projects/csharpoptparse/
GNU Getopt .NET — http://getopt.codeplex.com/

What is the best option?
-- 
View this message in context: http://mono.1490590.n4.nabble.com/What-is-the-best-way-to-parse-command-line-arguments-tp3076612p3076612.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list