Hi Gary!

they provide same basic features, but Airlines is IMHO a little
stronger in 3 points:

 * drives users on pure command pattern implementation, while in
JCommander you can have just a container of passed parameters;

 * simplifies the building of commands tree, such as `git remote add`
or `git remote show` while on JCommander it is not intuitive how to
reach the 2nd level of commands (undocumented anyway)

 * help usage is handled out of the box, while in JCommander you have
to handle it manually.

HTH, have a nice weekend!
-Simo

http://people.apache.org/~simonetripodi/
http://simonetripodi.livejournal.com/
http://twitter.com/simonetripodi
http://www.99soft.org/


On Fri, Mar 8, 2013 at 11:29 PM, Gary Gregory <garydgreg...@gmail.com> wrote:
> Hi Simo,
>
> Thank you for the pointer. What are the pro and cons of JCommander vs.
> Airline?
>
> Gary
>
>
> On Thu, Mar 7, 2013 at 1:40 AM, Simone Tripodi 
> <simonetrip...@apache.org>wrote:
>
>> Hi Gary,
>>
>> there's also new guy in the town, which is called Airline[1], that
>> supports the Git like commands structures. I am JCommander user as
>> well but in one of the last projects I plugged Airline and I really
>> liked it - the Help command is really straightforward! :)
>> Just to say what's the state of the art.
>>
>> I am +1 on moving forward CLI in that direction.
>>
>> Best,
>> -Simo
>>
>> [1] https://github.com/airlift/airline
>>
>> http://people.apache.org/~simonetripodi/
>> http://simonetripodi.livejournal.com/
>> http://twitter.com/simonetripodi
>> http://www.99soft.org/
>>
>>
>> On Thu, Mar 7, 2013 at 6:32 AM, Gary Gregory <garydgreg...@gmail.com>
>> wrote:
>> > Hi All,
>> >
>> > For some new development, I have dropped using our [cli] in favor of
>> > http://jcommander.org/ (also ASL2 licensed), which I find refreshingly
>> > modern and easy to use (annotations!)
>> >
>> > My suggestion is to rapidly move our [cli] in this direction or invite
>> > JCommander in as [cli] 2.0/3/0.
>> >
>> > Thoughts?
>> >
>> > Gary
>> > --
>> > E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
>> > JUnit in Action, 2nd Ed: <http://goog_1249600977>http://bit.ly/ECvg0
>> > Spring Batch in Action: <http://s.apache.org/HOq>http://bit.ly/bqpbCK
>> > Blog: http://garygregory.wordpress.com
>> > Home: http://garygregory.com/
>> > Tweet! http://twitter.com/GaryGregory
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
>> For additional commands, e-mail: dev-h...@commons.apache.org
>>
>>
>
>
> --
> E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
> JUnit in Action, 2nd Ed: <http://goog_1249600977>http://bit.ly/ECvg0
> Spring Batch in Action: <http://s.apache.org/HOq>http://bit.ly/bqpbCK
> Blog: http://garygregory.wordpress.com
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to