CliContext Constructor
Initializes a new instance of the
CliContext class.
Namespace: DotMake.CommandLineAssembly: DotMake.CommandLine (in DotMake.CommandLine.dll) Version: 1.8.8
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.