Exemplo n.º 1
0
        static async Task <int> Main(string[] args)
        {
            ServicePointManager.DefaultConnectionLimit = 64;
            ThreadPool.SetMinThreads(workerThreads: 64, completionPortThreads: 4);

            var rootCommand = new RootCommand();

            rootCommand.Add(DownloadAllVersions.GetCommand());
            rootCommand.Add(DownloadPackage.GetCommand());
            rootCommand.Add(Push.GetCommand());
            rootCommand.Add(ParseRestoreLogs.GetCommand());
            rootCommand.Add(ReplayRequestGraph.GetCommand());
            rootCommand.Add(ConvertGraph.GetCommand());
            rootCommand.Add(MergeTestResults.GetCommand());
            rootCommand.Add(DumpRequestDurations.GetCommand());

            return(await rootCommand.InvokeAsync(args));
        }