Hi Michael,

On Wed, 5 Mar 2003, Michael Lanzetta wrote:

> immediate problem, but ideally it would be nice to allow for the execution
> of a functor on the sighting of the option, and on each argument.
> Something like:
>
> OptionBuilder.onOption(OptionFunctor)
> ArgumentBuilder.onValue(ArgumentFunctor)

Do you suggest to use the Functor API (from jakarta-commons-functor) for
this purpose ?

BTW, I really appreciate the new CLI API... I am still investigating to
see if the command-line parser can process arguments like the cvs command:

cvs [CVS OPTIONS]... <command> [COMMAND OPTIONS]... [modules]...

With CLI 1.0 it was quite tricky to do such a thing (or maybe I just
missed something in the docs...)

Regards,


Herve

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to