Edit

Share via


Command.Parse Method

Definition

Overloads

Parse(IReadOnlyList<String>, CommandLineConfiguration)

Source:
Command.cs
public System.CommandLine.ParseResult Parse(System.Collections.Generic.IReadOnlyList<string> args, System.CommandLine.CommandLineConfiguration? configuration = default);
member this.Parse : System.Collections.Generic.IReadOnlyList<string> * System.CommandLine.CommandLineConfiguration -> System.CommandLine.ParseResult
Public Function Parse (args As IReadOnlyList(Of String), Optional configuration As CommandLineConfiguration = Nothing) As ParseResult

Parameters

configuration
CommandLineConfiguration

Returns

Applies to

Parse(String, CommandLineConfiguration)

Source:
Command.cs
public System.CommandLine.ParseResult Parse(string commandLine, System.CommandLine.CommandLineConfiguration? configuration = default);
member this.Parse : string * System.CommandLine.CommandLineConfiguration -> System.CommandLine.ParseResult
Public Function Parse (commandLine As String, Optional configuration As CommandLineConfiguration = Nothing) As ParseResult

Parameters

commandLine
String
configuration
CommandLineConfiguration

Returns

Applies to