CliGetConfigurationTDefinition(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<TDefinition>(
	CliSettings settings = null
)

Parameters

settings  CliSettings  (Optional)
The settings for the parser's grammar and behaviors.

Type Parameters

TDefinition
The definition class for the command. A command builder for this class should be automatically generated by the source generator.

Return Value

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

See Also