You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (Commented JIRA)" <ji...@apache.org> on 2011/11/09 22:17:51 UTC

[jira] [Commented] (KARAF-647) Support of sub-shell

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

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

After discussing with Guillaume, we propose to:
- normalize the scope format in the @Command annotation to describe the sub-shell. It could look like:
   @Command(scope = "level1:level2:level3:level4" ...)
- we add an attribute to flag a scope as global (for instance the shell scope should be available in any sub-shell). It could look something like:
   @Command(scope = "shell", visibility = "global", ...)
                
> 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é
>             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