Hi,
you can change PROMPT property in the command Session.
The command has an access to Session, so you can do:
...
public class MyCommand implements Action {
@Reference
Session session;
public Object execute() {
session.put(Session.PROMPT, "fooo");
return null;
}
Regards
JB
On 04/06/2019 20:31, matthiaw wrote:
> Is it possible to change the session variable "PROMPT" by a executed custom
> command in a bundle?
>
> For example:
>
> karaf@root()> item:add Something
> Created item with id 12345 and content "Hello World!"
> karaf@root():item:12345>item:change content "42 rules"
> Changed content of item with id 12345 to "42 rules"
>
>
>
>
>
> --
> Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html
>
--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com