Command history and tab completion in the CLI