CliCommandBuilderBuildWithHierarchy Method

Builds a Command instance with full hierarchy, populated with parent-commands, sub-commands, directives, options, arguments and settings.

Definition

Namespace: DotMake.CommandLine
Assembly: DotMake.CommandLine (in DotMake.CommandLine.dll) Version: 2.6.7
C#
public Command BuildWithHierarchy(
	CliBindingContext bindingContext,
	out RootCommand rootCommand
)

Parameters

bindingContext  CliBindingContext

[Missing <param name="bindingContext"/> documentation for "M:DotMake.CommandLine.CliCommandBuilder.BuildWithHierarchy(DotMake.CommandLine.CliBindingContext,System.CommandLine.RootCommand@)"]

rootCommand  RootCommand

[Missing <param name="rootCommand"/> documentation for "M:DotMake.CommandLine.CliCommandBuilder.BuildWithHierarchy(DotMake.CommandLine.CliBindingContext,System.CommandLine.RootCommand@)"]

Return Value

Command
A populated Command instance.

See Also