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
bindingContextCliBindingContextThe context used during binding of commands.
parseResultParseResultThe result providing details about the parse operation.
cancellationTokenCancellationTokenThe token to monitor for cancellation requests.