CliGetParser(Type, CliSettings) Method
Gets a CLI parser configured for the indicated command.
Namespace: DotMake.CommandLineAssembly: DotMake.CommandLine (in DotMake.CommandLine.dll) Version: 2.6.6
public static CliParser GetParser(
Type definitionType,
CliSettings settings = null
)
- definitionType Type
- The definition class type for the command. A command builder for this class should be automatically generated by the source generator.
- settings CliSettings (Optional)
-
The settings for the parser's grammar and behaviors.
CliParserA
CliParser for the indicated command with grammar and behaviors.