CliGetConfiguration(Type, CliSettings) Method
Gets a CLI configuration for the indicated command.
Namespace: DotMake.CommandLineAssembly: DotMake.CommandLine (in DotMake.CommandLine.dll) Version: 1.8.8
public static CliConfiguration GetConfiguration(
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.
CliConfigurationA
CliConfiguration on which the parser's grammar and behaviors are based.