[jboss-as7-dev] cli: default tab completion list

Alexey Loubyansky alexey.loubyansky at redhat.com
Tue Oct 25 12:23:01 EDT 2011


WRT https://issues.jboss.org/browse/AS7-2243
Tab completion for operations should show low-level operations

Brian suggests to include operations in the list of commands shown by 
the tab completion when the line is empty.

The original idea was to make an accent on the commands with the hope 
that operations will be used only in special/advanced cases. Which is 
still the direction to follow.
So, by default the cli is in the command completion mode.
Operation request completion is triggered by '/', './' or ':'.

This is actually consistent with the bash shell too, where by default 
you get a list of commands, scripts are not included, you'd have to 
start with './'. Although, './' is listed there before all the commands 
as an option, which is not the case in the cli.

IMO, the current impl is cleaner.

Votes, suggestions?

Thanks,
Alexey


More information about the jboss-as7-dev mailing list