CliParserParse(String) Method

Parses a command line string and returns the parse result for the indicated command.

Definition

Namespace: DotMake.CommandLine
Assembly: DotMake.CommandLine (in DotMake.CommandLine.dll) Version: 2.6.6
C#
public CliResult Parse(
	string commandLine
)

Parameters

commandLine  String
The command line string that will be split into tokens as if it had been passed on the command line. Useful for testing command line input by just specifying it as a single string.

Return Value

CliResult
A CliResult providing details about the parse operation and methods for binding.

See Also