camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guillaume Nodet <gno...@gmail.com>
Subject Re: [DISCUSS] - Align Camel karaf commands as Karaf is doing
Date Thu, 08 Dec 2011 17:44:58 GMT
That's exactly what I had in mind.

On Thu, Dec 8, 2011 at 18:29, Christian Schneider
<chris@die-schneider.net> wrote:
> Basically this is a good idea to wait. But then it may be best to not change
> the commands at all for 2.9.0 so people have to adapt only once.
>
> What do you think?
>
> Christian
>
>
> Am 08.12.2011 16:06, schrieb Guillaume Nodet:
>
>> +1
>>
>> I don't see the need for a change now given that we'll have to change
>> again with subshells.
>>
>> On Thu, Dec 8, 2011 at 12:54, jb@nanthrax.net<jb@nanthrax.net>  wrote:
>>>
>>> Hi Christian,
>>>
>>> I would wait the subshells and let the commands as it is.
>>>
>>> My 2 cents ;)
>>> Regards
>>> JB
>>>
>>> --
>>> Jean-Baptiste Onofré
>>> jbonofre@apache.org
>>> http://blog.nanthrax.net
>>> Talend - http://wwx.talend.com
>>>
>>> ----- Reply message -----
>>> From: "Christian Schneider"<chris@die-schneider.net>
>>> To:<dev@camel.apache.org>
>>> Subject: [DISCUSS] - Align Camel karaf commands as Karaf is doing
>>> Date: Thu, Dec 8, 2011 12:05 pm
>>>
>>>
>>> The number of characters per command is the same.
>>> Using tab can save you from typing most characters in both styles.
>>>
>>> So I think the focus on resources really makes the difference and I
>>> think it is more natural to think in resources for humans than in
>>> commands.
>>>
>>> Christian
>>>
>>> Am 08.12.2011 10:38, schrieb Charles Moulliard:
>>>>
>>>> Hi,
>>>>
>>>> I prefer that we keep as command family name a short name. "camel" is
>>>> fine but "camel-route" or "camel-context" are too long. Imagine when
>>>> operating a project on a platform, the number of characters to be
>>>> typed on the keyboard. This has an impact which is not negligible.
>>>>
>>>> So why not using camel:lisr-routes, camel:list-contexts and their
>>>> shortcut clr, clc
>>>>
>>>> Regards,
>>>>
>>>> Charles
>>>>
>>>>
>>>> On 08/12/11 09:49, Christian Schneider wrote:
>>>>>
>>>>> I really like the idea of having camel:route and then simply call
>>>>> list or start or stop.
>>>>>
>>>>> We can even do that without the sub shells already by naming the
>>>>> commands slightly different.
>>>>>
>>>>> Instead
>>>>> camel:route-list
>>>>> camel:context-list
>>>>>
>>>>> I propose to have:
>>>>> camel-route:list
>>>>> camel-context:list
>>>>>
>>>>> This would be more similar to the later sub shell commands.
>>>>>
>>>>> Christian
>>>>>
>>>>>
>>>>> Am 05.12.2011 09:54, schrieb James Strachan:
>>>>>>
>>>>>> On 2 December 2011 15:29, Claus Ibsen<claus.ibsen@gmail.com>
   wrote:
>>>>>>>
>>>>>>> Hi
>>>>>>>
>>>>>>> On the Karaf @dev they are talking about changing the naming
of the
>>>>>>> commands.
>>>>>>>
>>>>>>> http://karaf.922171.n3.nabble.com/PROPOSAL-New-Karaf-commands-norm-td3430815.html
>>>>>>>
>>>>>>>
>>>>>>> eg
>>>>>>> camel:list-routes  -->    camel:route-list
>>>>>>
>>>>>> Or we could even go with route:list so when there's sub shells we
>>>>>> could do
>>>>>>
>>>>>> shell camel:route
>>>>>> list
>>>>>> start foo
>>>>>> stop bar
>>>>>>
>>>>>> etc
>>>>>>
>>>>>
>>>
>>> --
>>> Christian Schneider
>>> http://www.liquid-reality.de
>>>
>>> Open Source Architect
>>> Talend Application Integration Division http://www.talend.com
>>>
>>
>>
>
>
> --
>
> Christian Schneider
> http://www.liquid-reality.de
>
> Open Source Architect
> Talend Application Integration Division http://www.talend.com
>



-- 
------------------------
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com

Mime
View raw message