Edit

Share via


CommandLineParser.Parse Method

Definition

Overloads

Parse(Command, IReadOnlyList<String>, ParserConfiguration)

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

Parameters

command
Command
configuration
ParserConfiguration

Returns

Applies to

Parse(Command, String, ParserConfiguration)

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

Parameters

command
Command
commandLine
String
configuration
ParserConfiguration

Returns

Applies to