[Mono-list] C# command line parsing library

2007-01-04 Thread Chris Seaton
Is there a library for parsing command lines in C#? Or do any C# applications have a reusable class for parsing command lines. I'm looking for something where you specify flags and default values and things and gets values from the command line. Like gopt or something. Thanks Chris Seaton _

Re: [Mono-list] C# command line parsing library

2007-01-04 Thread Antonello Provenzano
Chris, I wrote a library that makes the job: you can find it at http://sourceforge.net/projects/devee-console. It still needs some work on the tab auto completion stuff, but does what you need it to do. I hope this helps. Antonello On 1/4/07, Chris Seaton <[EMAIL PROTECTED]> wrote: > Is there a

Re: [Mono-list] C# command line parsing library

2007-01-04 Thread Andrés G. Aragoneses [ knocte ]
Chris Seaton escribió: > Is there a library for parsing command lines in C#? Or do any C# > applications have a reusable class for parsing command lines. I'm > looking for something where you specify flags and default values and > things and gets values from the command line. Like gopt or som

Re: [Mono-list] C# command line parsing library

2007-01-04 Thread Jonathan Pryor
On Thu, 2007-01-04 at 11:02 +, Chris Seaton wrote: > Is there a library for parsing command lines in C#? Or do any C# > applications have a reusable class for parsing command lines. I'm > looking for something where you specify flags and default values and > things and gets values from th

Re: [Mono-list] C# command line parsing library

2007-01-04 Thread Oleg Deribas
Hello, Chris Seaton said the following on 04.01.2007 13:02: > Is there a library for parsing command lines in C#? There is support for command line parsing in nini library: http://nini.sourceforge.net/ -- Oleg ___ Mono-list maillist - Mono-list@li

Re: [Mono-list] C# command line parsing library

2007-01-04 Thread Glen Ford
I get an invalid project if I follow this link - is there a correction? Sounds interesting. Antonello Provenzano wrote: > Chris, > > I wrote a library that makes the job: you can find it at > http://sourceforge.net/projects/devee-console. > It still needs some work on the tab auto completion stu

Re: [Mono-list] C# command line parsing library

2007-01-04 Thread Matthijs ter Woord
you need http://sf.net/projects/deveel-console "Glen Ford" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > I get an invalid project if I follow this link - is there a correction? > Sounds interesting. > > > Antonello Provenzano wrote: >> Chris, >> >> I wrote a library that makes

Re: [Mono-list] C# command line parsing library

2007-01-04 Thread Antonello Provenzano
Matthjis, Thank you for having fixed the erroneous link I gave away... :) Cheers. Antonello On 1/4/07, Matthijs ter Woord <[EMAIL PROTECTED]> wrote: you need http://sf.net/projects/deveel-console "Glen Ford" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > I get an invalid p

Re: [Mono-list] C# command line parsing library

2007-01-04 Thread Matt Raffel
I wrote an article for codeproject.com that addresses command line parsing. http://www.codeproject.com/csharp/simplecommandlineparser.asp I wrote the article using "the other C# compiler" but I believe the code should be portable to the mono environment (I want to say I tested it under mono but

Re: [Mono-list] C# command line parsing library

2007-01-04 Thread Miguel de Icaza
Hello, > I think the most standard way to do this is the library > "Mono.GetOptions" (search in google). I actually would not encourage people to use Mono.GetOptions, as it is not actively maintained and has too many limitations. Rolling out your own command line parser is not that hard anyways

Re: [Mono-list] C# command line parsing library

2007-01-04 Thread Tom Opgenorth
On 1/4/07, Chris Seaton <[EMAIL PROTECTED]> wrote: > Is there a library for parsing command lines in C#? Maybe Nini would meet your needs? I've used it before, and it worked good enough for me. http://nini.sourceforge.net/ ___ Mono-list maillist - Mon

Re: [Mono-list] C# command line parsing library

2007-01-08 Thread Rafael Teixeira
Well, Mono.GetOptions is actively maintained, by me, who created it. Aside from the subcommands pattern (like you have for instance in cvs/svn client utilities) that I still could not implement, I think it solves well the problem it was created to solve, which was to make parsing command line opti

Re: [Mono-list] C# command line parsing library

2007-01-08 Thread atsushi eno
Hi Rafael, When someone is complaining that some of your code is more or less useless, it does not mean your code sucks ;-) We often have no time or concentration to maintain or improve the code, or (probably for Mono.GetOptions) there is no further actions required due to lack of feedback. At le

Re: [Mono-list] C# command line parsing library

2007-01-08 Thread Miguel de Icaza
Hello, > I don't think it has too much limitations, but I would like some bug > reports for any limitations or lacking features that all of you, users > and potential users of it, could file to assess what I should improve. > Direct code/documentation contributions are also welcome. As I explaine

Re: [Mono-list] C# command line parsing library

2007-01-09 Thread Rafael Teixeira
Thanks Miguel for the clarifications. I think I'll start Mono.GetOptions 2.0 (or more probably a Commons.GetOptions) outside of Mono, and just keep Mono.GetOptions 1.0 stable (only security fixes) inside Mono svn. I'll post details as I progress with it. But some of the ideas I already have are:

Re: [Mono-list] C# command line parsing library

2007-01-09 Thread Freyr Magnússon
Hi, Firstly I´d like to not that I have not used mono.GetOptions myself so I will be mostly talking out of my own ass. I have been searching for a convenient way to handle parameters in .net world but came up short. I really do like the attribute based approach used in GetOptions an I am very l

Re: [Mono-list] C# command line parsing library

2007-01-09 Thread Bouk, Nathan
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Miguel de Icaza Sent: Monday, January 08, 2007 1:04 PM To: Rafael Teixeira Cc: Mono-list@lists.ximian.com; "Andrés G. Aragoneses [ knocte ]" Subject: Re: [Mono-list] C# command line parsing libr

Re: [Mono-list] C# command line parsing library

2007-01-09 Thread Kamil Skalski
2007 1:04 PM > To: Rafael Teixeira > Cc: Mono-list@lists.ximian.com; "Andrés G. Aragoneses [ knocte ]" > Subject: Re: [Mono-list] C# command line parsing library > > >This goes to a more general issue: I think we were too lax accepting new > >APIs that were evolving into

Re: [Mono-list] C# command line parsing library

2007-01-09 Thread Miguel de Icaza
Hello, > Having a standardized repository for .NET libraries, with installation > and dependency checking tools, looks like a good idea. It could work > exactly in similar way to cpan / ruby gems. > We had a little discussion about it in our community and there was a > loose idea of using > google

Re: [Mono-list] C# command line parsing library

2007-01-09 Thread Jonathan Gilbert
At 12:16 PM 1/9/2007 -0500, Nathan Bouk wrote: >Maybe some kind of Mono-CPAN (CMAN is taken, some clustering project) >would give these things a place to live outside of the Mono tree? How about Mono-CAN? :-) (Mono Community Archive Network, or perhaps Comprehensive or Central or somesuch) Jonat

Re: [Mono-list] C# command line parsing library

2008-04-15 Thread gsscoder
Chris Seaton wrote: > > Is there a library for parsing command lines in C#? Or do any C# > applications have a reusable class for parsing command lines. I'm > looking for something where you specify flags and default values and > things and gets values from the command line. Like gopt or s

Re: [Mono-list] C# command line parsing library

2008-04-15 Thread John M. Anderson
On Sat, 2008-04-12 at 00:18 -0700, gsscoder wrote: > > Chris Seaton wrote: > > > > Is there a library for parsing command lines in C#? Or do any C# > > applications have a reusable class for parsing command lines. I'm > > looking for something where you specify flags and default values and

Re: [Mono-list] C# command line parsing library

2008-04-26 Thread Christian López Espínola
Apache Commons CLI has just been ported: http://wiki.apache.org/commons/CLI HTH On Wed, Apr 16, 2008 at 5:25 AM, John M. Anderson <[EMAIL PROTECTED]> wrote: > > On Sat, 2008-04-12 at 00:18 -0700, gsscoder wrote: > > > > Chris Seaton wrote: > > > > > > Is there a library for parsing command l

Re: [Mono-list] C# command line parsing library

2012-05-17 Thread gsscoder
Please give a look to my library. Project Home: http://commandline.codeplex.com/ Source Repo: https://github.com/gsscoder/commandline Reference it or add two .cs file to your project (/CommandLine.cs/ | parser and /CommandLineText.cs/ | help builder). Create a target class for receive parsed val

Re: [Mono-list] C# command line parsing library

2012-05-17 Thread gsscoder
Please give a look to my library. Project Home: http://commandline.codeplex.com/ Source Repo: http://commandline.codeplex.com/ Reference it or add two .cs file to your project (/CommandLine.cs/ | parser and /CommandLineText.cs/ | help builder). Create a target class for receive parsed values (an