ExecuteAsync(CommandContext, TSettings) Method
Executes the command.
public abstract Task<int> ExecuteAsync(CommandContext context, TSettings settings)
- Namespace
- Spectre
.Console .Cli - Containing Type
- AsyncCommand
<TSettings>
Parameters
- CommandContext context
- The command context.
- TSettings settings
- The settings.
Returns
-
Task
<int>