CommandLineApplication.Command Method

Definition

public Microsoft.Extensions.CommandLineUtils.CommandLineApplication Command (string name, Action<Microsoft.Extensions.CommandLineUtils.CommandLineApplication> configuration, bool throwOnUnexpectedArg = true);
member this.Command : string * Action<Microsoft.Extensions.CommandLineUtils.CommandLineApplication> * bool -> Microsoft.Extensions.CommandLineUtils.CommandLineApplication
Public Function Command (name As String, configuration As Action(Of CommandLineApplication), Optional throwOnUnexpectedArg As Boolean = true) As CommandLineApplication

Parameters

name
String
throwOnUnexpectedArg
Boolean

Returns

Applies to