CliParserParse(String) Method

Parses a command line string array 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[] args = null
)

Parameters

args  String  (Optional)
The string array typically passed to a program. This is usually the special variable args available in Program.cs (new style with top-level statements) or the string array passed to the program's Main method (old style). If not specified or , args will be retrieved automatically from the current process via GetArgs.

Return Value

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

See Also