File: CompletionsGenerateScriptCommandDefinition.cs
Web Access
Project: src\src\sdk\src\System.CommandLine.StaticCompletions\System.CommandLine.StaticCompletions.csproj (System.CommandLine.StaticCompletions)
// 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.StaticCompletions.Resources;

namespace System.CommandLine.StaticCompletions;

public sealed class CompletionsGenerateScriptCommandDefinition : Command
{
    public readonly Argument<string> ShellArgument;

    public CompletionsGenerateScriptCommandDefinition(CompletionsCommandDefinition parent)
       : base("script", Strings.GenerateCommand_Description)
    {
        Arguments.Add(ShellArgument = parent.ShellArgument);
    }
}