Hi Patryk,

Why not directly creating an alias in etc/shell.init.script that perform these actions ?

You script can be called with shell:source command too.

Regards
JB

On 12/02/2013 12:50 PM, Patryk Kucharz wrote:
Hello,

I am trying to add some new commands to karaf console. I have read that
tutorial:
http://karaf.apache.org/manual/latest-2.2.x/developers-guide/extending-console.html

I am wondering if there is any possibility to call from my new command
the one of those already implemented commands?

For instance, I would like to implement command which will add feature,
install it and then show the list of already installed features. That is
why I need to call features:addurl, features:install, features:list etc.

I appreciate any help from your side.

Regards,
PK

--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to