Exemplo n.º 1
0
        public void Run()
        {
            try
            {
                var parser = new CommandParser<ExampleCommandBase>();
                var result = parser.ParseCommandAndExecute(consoleArgs, Commands);

                Console.WriteLine();
                Console.WriteLine(result);
            }
            catch (Exception e)
            {
                e.WriteToConsole();
            }
        }