private void RunCommand(string command) { if (command.StartsWith(":")) { command = command.Substring(1); } var parseResult = Parser.ParseLineCommand(command); Assert.True(parseResult.IsSucceeded); _interpreter.RunLineCommand(parseResult.AsSucceeded().Item); }