incubator-any23-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michele Mostarda (Resolved) (JIRA)" <>
Subject [jira] [Resolved] (ANY23-71) improve the current CLI engine
Date Tue, 03 Apr 2012 09:42:28 GMT


Michele Mostarda resolved ANY23-71.

    Resolution: Fixed

Fixed @ r1308786. Thanks to Simone Tripodi.
> improve the current CLI engine
> ------------------------------
>                 Key: ANY23-71
>                 URL:
>             Project: Apache Any23
>          Issue Type: Improvement
>    Affects Versions: 0.7.0
>            Reporter: Simone Tripodi
>            Assignee: Michele Mostarda
>             Fix For: 0.7.0
>         Attachments: enhanced_cli.patch
> Actual CLI - even if nicely working - can be improved in therms of of both internal architecture
and user interface.
> I see two main "issues" on current CLI:
>  * on UI, the CLI exposes internal details, since the {{ToolRunner}} requires the classname
of the tool has to be executed;
>  * on internals, each Tool has to parse the the chunk of the command line, which can
be automated.
> So my proposal is to automate, via the already working plugins discovery, the CLI arguments
parsing AND implementing a svn/git commands-based alike interface.
> My preferred choice for that is [JCommande|] because:
>  * it allows binding CLI arguments to Java properties via Annotations - no more manual
>  * it already supports a complex syntax to implement [commands|];
>  * commands aliases can be expressed via annotations - no more needs to expose internals;
> Patch with proposal is coming

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message