using Manager; bool stop = false; do { string? input = Console.ReadLine(); if (string.Equals(input, "stop")) { Commands.StopServer(); } else if (string.Equals(input, "q")) { stop = true; } else if (string.Equals(input, "clear")) { Console.Clear(); } else if (string.Equals(input, "p")) { Commands.GetProgress(); } else if (string.Equals(input, "v")) { Commands.Vacuum(); } else if (string.Equals(input, "r")) { Commands.ReIndex(); } else if (string.Equals(input, "help")) { Commands.GetHelp(); } else { Commands.GetHelp(); } } while (!stop);