private bool ExecuteCommand(string command) { _exit = false; var argsHandler = new ArgumentsHandler(command); Item it = FindItemByShortcut(argsHandler.GetNextStringArg()); if (it != null) { it.Command(argsHandler); } else { Console.WriteLine("Unknown command"); } return(!_exit); }