File: Program.cs
Web Access
Project: src\src\Components\benchmarkapps\Wasm.Performance\ConsoleHost\Wasm.Performance.ConsoleHost.csproj (Wasm.Performance.ConsoleHost)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
using Microsoft.Extensions.CommandLineUtils;
using Wasm.Performance.ConsoleHost.Scenarios;
 
namespace Wasm.Performance.ConsoleHost;
 
internal sealed class Program : CommandLineApplication
{
    static void Main(string[] args)
    {
        new Program().Execute(args);
    }
 
    public Program()
    {
        OnExecute(() =>
        {
            ShowHelp();
            return 1;
        });
 
        Commands.Add(new GridScenario());
    }
}