Table of Contents

CliContext.CliContext Constructor

Definition

Namespace
DotMake.CommandLine
Assembly
DotMake.CommandLine.dll

Initializes a new instance of the CliContext class.

public CliContext(CliBindingContext bindingContext, ParseResult parseResult, CancellationToken cancellationToken = default)

Parameters

bindingContext CliBindingContext

The context used during binding of commands.

parseResult ParseResult

The result providing details about the parse operation.

cancellationToken CancellationToken

The token to monitor for cancellation requests.