Add accessing cli history with up/down arrow keys.