Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

CommandLineParser Class

Definition

Namespace:
System.CommandLine.Parsing
Assembly:
System.CommandLine.dll
Package:
System.CommandLine v3.0.0-preview.5.26302.115
Source:
CommandLineParser.cs
Source:
CommandLineParser.cs

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.

Parses command line input.

public ref class CommandLineParser abstract sealed
public static class CommandLineParser
type CommandLineParser = class
Public Class CommandLineParser
Inheritance
CommandLineParser

Methods

Name Description
Parse(Command, IReadOnlyList<String>, ParserConfiguration)

Parses a list of arguments.

Parse(Command, String, ParserConfiguration)

Parses a command line string.

SplitCommandLine(String)

Splits a string into a sequence of strings based on whitespace and quotation marks.

Applies to


Feedback

Was this page helpful?