File: Commands\Format\FormatCommand.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 Microsoft.DotNet.Cli.Utils;

namespace Microsoft.DotNet.Cli.Commands.Format;

public sealed class FormatCommand(IEnumerable<string> argsToForward)
    : FormatForwardingApp(argsToForward)
{
    public static int Run(string[] args)
    {
        DebugHelper.HandleDebugSwitch(ref args);
        return new FormatForwardingApp(args).Execute();
    }
}