Can you please share the command ? It's a Gogo commands (not a Karaf
one), right ?

Regards
JB

On 29/04/2019 13:28, Ravi wrote:
> Thank you for reply.
> 
> It means that you have your own command, right ?
> YES
> 
> Do you use regular command arguments or is it a custom Action using directly
> the session ?
> It is a custom Action using directly the session.
> 
> @Override
> public Object execute(CommandSession session) throws Exception {
> session.getConsole().printf("Do you wish to continue? (y/n):"); 
> session.getConsole().flush(); 
> boolean result = getYesNoSelection(session);
> ....
> }
> 
> 
> 
> --
> Sent from: http://karaf.922171.n3.nabble.com/Karaf-Dev-f930721.html
> 

-- 
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to