CliParser Class

Represents a CLI parser configured for a specific command with grammar and behaviors.

Definition

Namespace: DotMake.CommandLine
Assembly: DotMake.CommandLine (in DotMake.CommandLine.dll) Version: 2.6.6
C#
public class CliParser
Inheritance
Object    CliParser

Methods

Parse(String) Parses a command line string and returns the parse result for the indicated command.
Parse(String) Parses a command line string array and returns the parse result for the indicated command.
Run(String) Parses a command line string value and runs the handler for the indicated command.
Run(String) Parses a command line string array and runs the handler for the indicated command.
RunAsync(String, CancellationToken) Parses a command line string value and runs the handler asynchronously for the indicated command.
RunAsync(String, CancellationToken) Parses a command line string array and runs the handler asynchronously for the indicated command.

See Also