Re: [CLI] CLI Validation - Was: WELCOME to dev@commons.apache.org

2007-08-16 Thread Oliver Heger
Brian A. Egge wrote: > Hi Wolfgang, > > I agree that the framework should have better support for groups and mutually > exclusive options. This is a feature I've often had to do in a pre or post > processing step. > > I've thought about writing a CLI library which would accept a EBNF option

Re: [CLI] CLI Validation - Was: WELCOME to dev@commons.apache.org

2007-08-14 Thread Brian A. Egge
Hi Wolfgang, I agree that the framework should have better support for groups and mutually exclusive options. This is a feature I've often had to do in a pre or post processing step. I've thought about writing a CLI library which would accept a EBNF option grammar, much like JavaCC or ANTLR

Re: [CLI] CLI Validation - Was: WELCOME to dev@commons.apache.org

2007-08-14 Thread Wolfgang Roessler
Hi Hen, the Commons Validator package sounds interesting and I perhaps it should be possible to use these validators. But I also like the CLI2 validators for files and directories. The validators I am missing are something like dependency-validators, e.g. specify mutually exclusive options. G

[CLI] CLI Validation - Was: WELCOME to dev@commons.apache.org

2007-08-14 Thread Henri Yandell
Hi Wolfgang, It's great that the bugfix release has driven some interest onto the lists for improving the library. Validation sounds very useful - is it something that you think Commons Validator would be useful for, or do the use cases not quite match? Brian and others... any thoughts? CLI futu