// static void Main(string[] args) { SetupLogging(); SetupCommanderOptions(); SetupCommander(); ShowTitle(); while (true) { try { ShowPrompt(); var command = _commander.ParseCommand(Console.ReadLine()); var result = _commander.ExecuteCommand(command); //Console.ReadKey(); } catch (Exception e) { Console.WriteLine(e.Message); } } }
public void SendOrder() { commander.ExecuteCommand(); }