0
comment
comment
on 4/24/2011 11:10 AM
NDesk Options
I started writing an argument parser without knowing about:
NDesk.Options
Where you have the following kind of syntax:
string data = null;
bool help = false;
int verbose = 0;
var p = new OptionSet () {
{ "file=", v => data = v },
{ "v|verbose", v => { ++verbose } },
{ "h|?|help", v => help = v != null },
};
List extra = p.Parse (args);
FubuCore
Since this post, there is a new option: Command line in FubuCore.
Powershell
If you’re using powershell it j[...]