Thanks, I've merged the patch to trunk + 1.1.x-fixes. I added basic autocomplete support for the main commands. If someone wants to take a look at adding autocomplete support for the arguments for each of the commands then please feel free! Console history is supported using the up/down arrow keys.
Colm. On Mon, Feb 12, 2018 at 1:16 AM, Li, Jiajia <[email protected]> wrote: > Switching to use JLine looks great, I think it could also support console > history. > > Thanks, > Jiajia > > -----Original Message----- > From: Zeng, Frank [mailto:[email protected]] > Sent: Sunday, February 11, 2018 11:04 PM > To: [email protected]; [email protected] > Subject: RE: Switch to use JLine for Kadmin > > Hi Colm, > > I tried to use arrow keys in Kadmin tool, it worked, the wrong characters > were gone. > Just a very simple question: do we need to support autocomplete in Kadmin > tool later? JLine supports command line completion. > > Thanks, > Frank > > -----Original Message----- > From: Colm O hEigeartaigh [mailto:[email protected]] > Sent: Friday, February 9, 2018 6:28 PM > To: [email protected] > Subject: Switch to use JLine for Kadmin > > Hi all, > > In response to two JIRAs that were filed about the Kadmin tool not > supporting using arrow keys, I submitted a simple patch here to switch to > use JLine instead of java.util.Scanner: > > https://issues.apache.org/jira/browse/DIRKRB-693 > > Please take a look and let me know what you think. > > Colm. > > > -- > Colm O hEigeartaigh > > Talend Community Coder > http://coders.talend.com > -- Colm O hEigeartaigh Talend Community Coder http://coders.talend.com
