On 23 November 2013 15:40, Gary Gregory <[email protected]> wrote:
> Hi All:
>
> In my old code, I use [cli]. In my new code I use JCommander (also under
> the Apache 2 license).
>
> [cli] really feels antiquated.

+1

> I'd the community's thoughts on moving to a cli2 that uses annotations

There is also the Avalon CLI code (used in JMeter):

https://svn.apache.org/repos/asf/commons/sandbox/avalon-cli/

There is already a CLI2:

https://svn.apache.org/repos/asf/commons/sandbox/cli2/

The API style (annotations or not) is one issue, the other is the
syntax of the options.
Unfortunately there are several different styles for command switches,
not all of which are well documented.

> Gary
>
> --
> E-Mail: [email protected] | [email protected]
> Java Persistence with Hibernate, Second 
> Edition<http://www.manning.com/bauer3/>
> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
> Spring Batch in Action <http://www.manning.com/templier/>
> Blog: http://garygregory.wordpress.com
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to