karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guillaume Nodet <gno...@gmail.com>
Subject Re: [jira] [Commented] (KARAF-647) Support of sub-shell
Date Tue, 22 May 2012 12:11:59 GMT
The help command does that afaik.  I'd keep the real completion for
everything, not only for subshells.

On Tue, May 22, 2012 at 2:07 PM, Christian Schneider
<chris@die-schneider.net> wrote:
> I understand but I still think a cd command could help. At the very least it
> would allow command completion for subshells.
> Currently if you want a hint which subshell to choose you can only type tab
> which shows 242 commands.
>
> With cd <tab> you would see only the subshells which should be around 10
> which would give the user a much better overview.
>
> So an idea would be to add the cd command without removing the geneated
> subshell commands.
>
> Btw. I think we could also improve the completion list shown by simply
> typing <tab>. If we only show the scope of commands with scope that would
> make the list a lot smaller.
> When you then type the whole scope we could show the commands in the scope.
>
> Christian
>
> Am 22.05.2012 13:21, schrieb jb@nanthrax.net:
>
>> As reminder, the purpose is to have IoS like shell console. That's why we
>> don't have cd command.
>>
>> --
>> Jean-Baptiste Onofré
>> jbonofre@apache.org
>> http://blog.nanthrax.net
>> Talend - http://wwx.talend.com
>>
>> ----- Reply message -----
>> From: "Christian Schneider (JIRA)"<jira@apache.org>
>> To:<jbonofre@apache.org>
>> Subject: [jira] [Commented] (KARAF-647) Support of sub-shell
>> Date: Tue, May 22, 2012 12:14 pm
>>
>>
>>
>>     [
>> https://issues.apache.org/jira/browse/KARAF-647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13280861#comment-13280861
>> ]
>>
>> Christian Schneider commented on KARAF-647:
>> -------------------------------------------
>>
>> I just reviewed the prototype. What I don´t like is the auto generation of
>> commands to enter the subshells.
>> I would prefer to have a single command like cd<subshellname>  to enter
>> subshells. This is much simpler
>> to implement and allows even better completion as the completion then will
>> only show scopes.
>>
>> It also allows to extend the concept to the resource model I proposed
>> above as we have more freedom what to do when cd is called then
>> having single sommands for each subshell.
>>
>>> Support of sub-shell
>>> --------------------
>>>
>>>                 Key: KARAF-647
>>>                 URL: https://issues.apache.org/jira/browse/KARAF-647
>>>             Project: Karaf
>>>          Issue Type: New Feature
>>>          Components: karaf-shell
>>>            Reporter: Jean-Baptiste Onofré
>>>            Assignee: Jean-Baptiste Onofré
>>>             Fix For: 3.0.0
>>>
>>>
>>> Thanks the high Karaf adoption level, we have projects that provide Karaf
>>> shell commands.
>>> For instance, Camel provides Karaf commands, like ACE, CXF, ServiceMix,
>>> etc do.
>>> It could be helpful to have a kind of sub-shells, similar to the Cisco
>>> IoS shell:
>>> karaf@root>  camel
>>> karaf@root:camel>  route:list
>>> karaf@root:camel>  route:stop
>>> karaf@root:camel>  exit
>>> karaf@root>  ace
>>> karaf@root:ace>  distribution:list
>>> karaf@root:ace>  exit
>>
>> --
>> This message is automatically generated by JIRA.
>> If you think it was sent incorrectly, please contact your JIRA
>> administrators:
>> https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
>> For more information on JIRA, see: http://www.atlassian.com/software/jira
>>
>>
>
>
> --
> 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/
------------------------
FuseSource, Integration everywhere
http://fusesource.com

Mime
View raw message