support tab completion in console ui.
command / subcommand / option completion in console ui like terminal emulators do
sh[ow] + tab
options files dht (and so on, in column or in row)
sh[ow] t + tab
transferring active complete ...
and support for up/down arrow keys
up arrow will show the previous command ...