File: Commands\Format\FormatCommandDefinition.cs
Web Access
Project: src\src\sdk\src\Cli\Microsoft.DotNet.Cli.Definitions\Microsoft.DotNet.Cli.Definitions.csproj (Microsoft.DotNet.Cli.Definitions)
// 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;
using Microsoft.DotNet.Cli.CommandLine;

namespace Microsoft.DotNet.Cli.Commands.Format;

internal sealed class FormatCommandDefinition : Command
{
    private const string Link = "https://aka.ms/dotnet-format";

    public new readonly Argument<string[]> Arguments = new("arguments");

    public FormatCommandDefinition()
        : base("format")
    {
        this.DocsLink = Link;
        base.Arguments.Add(Arguments);
    }
}