commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Jagielski (JIRA)" <>
Subject [jira] Commented: (CLI-181) Unified parser
Date Wed, 27 May 2009 15:06:45 GMT


Jim Jagielski commented on CLI-181:

I was thinking about adding a sort of "format string" which defines the type of options the
user wants to support; eg:

   "-a foo --apple=banana -flag"

CLI then determines the option formats that need to be supported via scanning that string
and then uses those aspects of the parser. So by folding all 3 parsers into 1 super parser,
this would be easier. Of course, anything that removes the need for end-users to have to worry
about "which parser to use" is goodness ;)

> Unified parser
> --------------
>                 Key: CLI-181
>                 URL:
>             Project: Commons CLI
>          Issue Type: Improvement
>          Components: Parser
>            Reporter: Emmanuel Bourg
>             Fix For: 1.3
> The 3 parsers available in the API create an unnecessary complexity for the users and
for the developers maintaining the code. I suggest deprecating them in favor of a unified
parser supporting the features of the others.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message