[ 
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


Reply via email to