static async void MainAsync(string[] args)
        {
            var options = new Options();
            if (!Parser.Default.ParseArguments(args, options))
            {
                Console.Write(options.GetUsage());
                Console.Write("Press any key to continue...");
                Console.Read();
                return;
            }

            await new Runner(options).Do();

            Console.Read();
        }
 public Runner(Options options)
 {
     connection = EventStoreHttpConnection.Create(options.Endpoint);
     this.options = options;
 }