rewrite to separating commandLineInterface and commandLine inquirer tool