-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

On 29/11/14 15:36, Cristiano Gavião wrote:
> I need to create a command that could follow different workflows
> depending on the user choice and the latest result...
> 
> I mean, when the user triggers the command (with some parameters)
> it will be executed and I should display some options(depending on
> the result) and wait for the user to choose one.
> 
> should I use System.in and System.out or Gogo provides any API to
> help achieve that ?  any tip or docs ?

Gogo provides access to the keyboard and console through the
CommandSession (will be injected automatically if your method defines
such an argument), but these methods are basically returning
System.in/out. Apart from that, you need to do everything else
yourself if you want to interact with the user.

Hope this helps,

- -- 
Met vriendelijke groeten | Kind regards

Jan Willem Janssen | Software Architect
+31 631 765 814

/My world is revolving around INAETICS and Amdatu/

Luminis Technologies B.V.
Churchillplein 1
7314 BZ   Apeldoorn
+31 88 586 46 00

http://www.luminis-technologies.com
http://www.luminis.eu

KvK (CoC) 09 16 28 93
BTW (VAT) NL8169.78.566.B.01
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: GPGTools - http://gpgtools.org

iQIcBAEBAgAGBQJUefMyAAoJEKF/mP2eHDc46bAP+gJ9XxAYvsUOeYg/zdfcTxT0
rT7B72P7lekee4oPG7GaniV/3llulVUcEwps7H7EnpM4gWQBk9/rL1dEGjcAe2bG
c7ZYfN897hUqvZQm8LuvMrW+AZ6KFWrjMd0TMhfobSKC5ct8m/e9Jl9TarF4n+Ux
tp2zpmCyKu/PJExvwxmBR+Qye9Arec7RDSZayMg0O/GyfRyuAFxk+ZmK8BiI33Kq
Wi0DiX3TYEGAVE61EDp7SQro5H75CjPrk/0BJZh+x9e+/T6PEdQQGVsQRqsTl5af
yANUceoj932DlsWAdiic17XhZ6L75GcyizUvK7AL4iZDvSj0NfxRcB00HkudnYfU
fOCo9ane1ln6IIu9L/7AxVfOCzuk5sminyy/E9Uas17oaj+fLPfATpbvR7cQhG3p
sxe27d7snb9M/hejy4O3kIZGOqZOvgtLYzcvLEx3iSxcc1V7LzRi1ypeDoUx7Wrx
Dq9fC9OivRVtefxGK+0fOj35y5DWXX9qSSlBGaNQ/CA1I1Z46rVMmrppvm3tM6Am
ScghtIaQhEXDCINpxpTssPO+7aLBMsxWR+r2jGbO3qOJCZZbrUT+t2rmiLLrgbTy
EOZUFjXSVPMAo6fVau8C8oeB2MyqmLAU76V0/qr4S3ApUn7fk0QZZaUIx3r9m8qu
r1WY43b8+gjwngEfB3nU
=vjgc
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
For additional commands, e-mail: users-h...@felix.apache.org

Reply via email to