CommandLineParser.Parse Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Parse(Command, IReadOnlyList<String>, CommandLineConfiguration) | |
Parse(Command, String, CommandLineConfiguration) |
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
- args
- IReadOnlyList<String>
- 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