Table of Contents

ICliRunAsyncWithContextAndReturn.RunAsync Method

Definition

Namespace
DotMake.CommandLine
Assembly
DotMake.CommandLine.dll

The async command handler that will be called when your command is invoked. Handler receives a CliContext instance. Handler can return an exit code.

Task<int> RunAsync(CliContext cliContext)

Parameters

cliContext CliContext

Returns

Task<int>