public void StartReadingCommands() { OutputWriter.WriteMessage($"{SessionData.currentPath}>"); string input = ""; while (input != endCommand) { OutputWriter.WriteMessage($"{SessionData.currentPath}>"); input = input.Trim(); input = Console.ReadLine(); interpreter.InterpretComands(input); } }