Method DoExecuteAsync
- Namespace
- Ploch.CommandLine.Spectre.Commands
- Assembly
- Ploch.CommandLine.Spectre.dll
DoExecuteAsync(CommandContext, TSettings, CancellationToken)
Implements the command's execution logic.
protected abstract Task<ExitCode> DoExecuteAsync(CommandContext context, TSettings settings, CancellationToken cancellationToken)
Parameters
contextCommandContextThe command context containing execution information.
settingsTSettingsThe settings to use for command execution.
cancellationTokenCancellationTokenA token that signals the command should stop work.