Return-Path: X-Original-To: apmail-camel-dev-archive@www.apache.org Delivered-To: apmail-camel-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0C9A09F78 for ; Thu, 8 Dec 2011 11:05:55 +0000 (UTC) Received: (qmail 67399 invoked by uid 500); 8 Dec 2011 11:05:54 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 67373 invoked by uid 500); 8 Dec 2011 11:05:54 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 67365 invoked by uid 99); 8 Dec 2011 11:05:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Dec 2011 11:05:54 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of cschneider111@googlemail.com designates 209.85.215.173 as permitted sender) Received: from [209.85.215.173] (HELO mail-ey0-f173.google.com) (209.85.215.173) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Dec 2011 11:05:48 +0000 Received: by eaai10 with SMTP id i10so1179230eaa.32 for ; Thu, 08 Dec 2011 03:05:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=JFyUHTLQ5GAkKEpglEKJDlJXNJeiv1Kww9RcSsEwofs=; b=KlRveTmCcIzuQlhy0r1vFAzWhhjIHGtfK2SC/5hKTH27HyOHNK6tQru9LXUgPmrLQA MKOa0FaGCypJWzI9nBIkOUxxInsYb1bCQqe0E5aWZiVhCICkBbO/027HWFnpdBgH1t6R aT9BiUyRNoQF7PpDpeRcBOswil02k3P0hRCng= Received: by 10.213.27.15 with SMTP id g15mr129623ebc.143.1323342327630; Thu, 08 Dec 2011 03:05:27 -0800 (PST) Received: from [10.0.0.107] (HSI-KBW-46-223-138-180.hsi.kabel-badenwuerttemberg.de. [46.223.138.180]) by mx.google.com with ESMTPS id 65sm16593985eeg.8.2011.12.08.03.05.26 (version=SSLv3 cipher=OTHER); Thu, 08 Dec 2011 03:05:27 -0800 (PST) Sender: Christian Schneider Message-ID: <4EE099FA.5060806@die-schneider.net> Date: Thu, 08 Dec 2011 12:05:30 +0100 From: Christian Schneider User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: dev@camel.apache.org Subject: Re: [DISCUSS] - Align Camel karaf commands as Karaf is doing References: <4EE07A0C.3030307@die-schneider.net> <4EE085AA.3030608@gmail.com> In-Reply-To: <4EE085AA.3030608@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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 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