Table of Contents

CliCommandBuilder.BuildWithHierarchy Method

Definition

Namespace
DotMake.CommandLine
Assembly
DotMake.CommandLine.dll

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

public Command BuildWithHierarchy(CliBindingContext bindingContext, out RootCommand rootCommand)

Parameters

bindingContext CliBindingContext
rootCommand RootCommand

Returns

Command

A populated Command instance.