Use linenoise for cli