Exemplo n.º 1
0
        static void Main(string[] args)
        {
            try
            {
                Parser.Default.ParseArguments <Options>(args)
                .WithParsed(async options => {
                    await RunOptionAsync(options);
                });
            }
            catch (Exception ex)
            {
                ConsoleExtensions.DisplayError(ex);
            }

#if DEBUG
            Console.ReadLine();
#endif
        }