Edit

Share via


CommandLineParser.Parse Method

Definition

Overloads

Parse(Command, IReadOnlyList<String>, CommandLineConfiguration)

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

Parameters

command
Command
configuration
CommandLineConfiguration

Returns

Applies to

Parse(Command, String, CommandLineConfiguration)

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

Parameters

command
Command
commandLine
String
configuration
CommandLineConfiguration

Returns

Applies to