views:

148

answers:

1

I am looking for a rather basic command-line parser class/library for C#.

All I really need it for is opening passed files, and it is not something I really feel like writing, considering it is such a small part of a much larger project that is GPL, anyways.

I've seen a bunch of stuff on Code Project, but they all either have no license, or are CPOL. Same with Code Plex they are all MP-PL, and I have no idea if it is compatible with the GPL. Plus, I don't really care to cross-license.

I guess if there isn't one, I will just write one and GPL it on Code Plex.

Thanks in advance.

+4  A: 

Jonathan Pryor's Options library is MIT/X11-licensed, which is GPL compatible. It's being shipped with Mono 2.2 as Mono.Options:

http://tirania.org/blog/archive/2008/Oct-14.html

Barry Kelly
I was going to say, an MIT licensed command line parser would be even better :)
280Z28
Yeah, I should have said GPL-compatible. Thanks for the correction. As for Mono.Options, I wasn't sure if I could just rip a part of Mono out, as I know Novel dual-licenses it. But, if it's X11, I guess I'm fine. Thanks!
agentlame