Table of Contents

CliRunnableResult.RunAsync Method

Definition

Namespace
DotMake.CommandLine
Assembly
DotMake.CommandLine.dll

Runs the handler asynchronously for the called command.

public Task<int> RunAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

The token to monitor for cancellation requests.

Returns

Task<int>

The exit code for the invocation.