CliContext Constructor

Initializes a new instance of the CliContext class.

Definition

Namespace: DotMake.CommandLine
Assembly: DotMake.CommandLine (in DotMake.CommandLine.dll) Version: 1.8.8
C#
public CliContext(
	ParseResult parseResult,
	CancellationToken cancellationToken = default
)

Parameters

parseResult  ParseResult
The parse result for the current invocation.
cancellationToken  CancellationToken  (Optional)
The token to monitor for cancellation requests.

See Also