karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (Commented) (JIRA) <j...@apache.org>
Subject [jira] [Commented] (KARAF-647) Support of sub-shell
Date Mon, 05 Mar 2012 10:39:58 GMT

    [ https://issues.apache.org/jira/browse/KARAF-647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13222262#comment-13222262
] 

Jean-Baptiste Onofré commented on KARAF-647:
--------------------------------------------

>From an implementation perspective:

- store the SCOPES variable and introduce CURRENT_SCOPE in jline Console
- add a cd command to get in/out from the shell using/updating the CURRENT_SCOPE/SCOPES variables
- maybe in the Console NamespaceHandler, looking for the sub-shell (in scope) and update the
SCOPES (not sure if it's necessary)
- update the PROMPT to add a SHELL variable rendering
                
> 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

       

Mime
View raw message