CliGetConfiguration(Type, CliSettings) Method

Gets a CLI configuration for the indicated command.

Definition

Namespace: DotMake.CommandLine
Assembly: DotMake.CommandLine (in DotMake.CommandLine.dll) Version: 1.8.7
C#
public static CliConfiguration GetConfiguration(
	Type definitionType,
	CliSettings settings = null
)

Parameters

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.

Return Value

CliConfiguration
A CliConfiguration on which the parser's grammar and behaviors are based.

See Also