File: Commands\Run\Api\RunApiCommandParser.cs
Web Access
Project: src\src\sdk\src\Cli\dotnet\dotnet.csproj (dotnet)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.

using System.CommandLine;

namespace Microsoft.DotNet.Cli.Commands.Run.Api;

internal sealed class RunApiCommandParser
{
    public static void ConfigureCommand(RunApiCommandDefinition command)
    {
        command.SetAction(parseResult => new RunApiCommand(parseResult).Execute());
    }
}