move tui to cli