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
_
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
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
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
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
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
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
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
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
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
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
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
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
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
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:
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
-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
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
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
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
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
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
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
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
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
25 matches
Mail list logo