I like the idea of context switching. I have seen a similar thing in cisco routers. See their tutorial for inspriation:
http://www.cisco.com/warp/cpropub/45/tutorial.htm

I am not sure if the style they used is applicable for karaf but it is always useful to look at mature implementations when defining such features.

Christian


Am 17.05.2011 09:45, schrieb Jean-Baptiste Onofré:
Hi all,

Thanks the high Karaf adoption level, we have projects that provide Karaf shell commands. For instance, I added Karaf commands for Camel and I'm working in the same area for ACE.

Currently, Camel Karaf commands look like:
camel:list-contexts
camel:list-routes
camel:stop-route
camel:info-route
camel:show-route
camel:info-context

What do you think about supporting a kind of commands context ?

For instance, the user could do:

karaf@root> cd camel
karaf@root> #camel> route:list
karaf@root> #camel> route:stop
karaf@root> cd ..
karaf@root> cd ace
karaf@root> #ace> distribution:list
karaf@root> cd ..

Regards
JB


--
Christian Schneider
http://www.liquid-reality.de

CXF and Camel Architect

Reply via email to