Re: [CLI] Do we have the correct model? (was Re: [CLI] Support for CVS style command line)

2003-07-02 Thread Rob Oxspring
Jakarta Commons Developers List" <[EMAIL PROTECTED]> Sent: Tuesday, July 01, 2003 1:46 PM Subject: Re: [CLI] Do we have the correct model? (was Re: [CLI] Support for CVS style command line) > Sounds like a good plan to me. > > Rob > > - Original Message - > F

Re: [CLI] Do we have the correct model? (was Re: [CLI] Support for CVS style command line)

2003-07-01 Thread Rob Oxspring
Firstly, it may well be unimportant for now as it is really an > > implementation detail of my experimental code - there may be other > > stratergies for processing. > > > > The idea is that each option will return the set of string prefixes > > that this option ca

Re: [CLI] Do we have the correct model? (was Re: [CLI] Support for CVS style command line)

2003-06-19 Thread Rob Oxspring
- Original Message - From: "John Keyes" <[EMAIL PROTECTED]> To: "Jakarta Commons Developers List" <[EMAIL PROTECTED]> Sent: Wednesday, June 18, 2003 10:21 PM Subject: Re: [CLI] Do we have the correct model? (was Re: [CLI] Support for CVS style command l

[CLI] Do we have the correct model? (was Re: [CLI] Support for CVS style command line)

2003-06-17 Thread Rob Oxspring
ile. Rob ----- Original Message ----- From: "John Keyes" <[EMAIL PROTECTED]> To: "Jakarta Commons Developers List" <[EMAIL PROTECTED]> Sent: Thursday, June 12, 2003 10:18 AM Subject: Re: [CLI] Support for CVS style command line > > The "setDisplayCommandA

Re: [CLI] Support for CVS style command line

2003-06-12 Thread John Keyes
> The "setDisplayCommandAlias(boolean)" is purely hypothetical at the moment, it > illustrates > the level of control I was planning on offering but is beyond the implementation so > far. > I haven't tackled Commands and aliases at all but I guess should put my code > where my mouth is. I'll

Re: [CLI] Support for CVS style command line

2003-06-11 Thread Rob Oxspring
- Original Message - From: "John Keyes" <[EMAIL PROTECTED]> To: "Jakarta Commons Developers List" <[EMAIL PROTECTED]> Cc: "Jakarta Commons Developers List" <[EMAIL PROTECTED]> Sent: Wednesday, June 11, 2003 1:56 PM Subject: Re: [CLI] Sup

Re: [CLI] Support for CVS style command line

2003-06-11 Thread John Keyes
>Eitherway the implementation should be a simple case of setting a few attributes on >the HelpFormatter and supplying an alternate >Options object: > >if(commandLine.hasOption("--help-commands")){ >// don't descend into suboptions >helpFormatter.setDepth(0); >// make s

Re: [CLI] Support for CVS style command line

2003-06-11 Thread Rob Oxspring
- Original Message - From: "John Keyes" <[EMAIL PROTECTED]> To: "Jakarta Commons Developers List" <[EMAIL PROTECTED]> Sent: Wednesday, June 11, 2003 12:24 AM Subject: Re: [CLI] Support for CVS style command line ... > > > >

Re: [CLI] Support for CVS style command line

2003-06-10 Thread John Keyes
o do this and that the position of the global options shouldn't matter but others may disagree. I agree with you that its a mistake, but I will spend some time thinking about it to see if it is possible to come up with a solution. Thanks for all that information. I will post whatever I come

[CLI] Support for CVS style command line

2003-06-10 Thread John Keyes
The CVS command line is defined as follows: cvs [options] command [command-options] Ideally I would like to have CLI support this implicity, i.e. validate the 'command' value (this was a feature already recommended by Mike McLean and modified by Max Rydahl Andersen) and based on this value pars

[CLI] Support for CVS style command line

2003-06-10 Thread John Keyes
The CVS command line is defined as follows: cvs [options] command [command-options] Ideally I would like to have CLI support this implicity, i.e. validate the 'command' value (this was a feature already recommended by Mike McLean and modified by Max Rydahl Andersen) and based on this value pars

Re: [CLI] Support for CVS style command line

2003-06-10 Thread Rob Oxspring
ter the "checkout" for instance. Do either proposals allow this? (I don't think mine would). Do we want to support this? Personally I think it was a mistake of CVS to do this and that the position of the global options shouldn't matter but others may disagree. Rob - Or

[CLI] Support for CVS style command line

2003-06-09 Thread John Keyes
The CVS command line is defined as follows: cvs [options] command [command-options] Ideally I would like to have CLI support this implicity, i.e. validate the 'command' value (this was a feature already recommended by Mike McLean and modified by Max Rydahl Andersen) and based on this value pars