Method DoExecute
- Namespace
- Ploch.CommandLine.Spectre.Commands
- Assembly
- Ploch.CommandLine.Spectre.dll
DoExecute(CommandContext, TSettings, CancellationToken)
Implements the command's core execution logic.
protected abstract ExitCode DoExecute(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.
Returns
- ExitCode
An exit code indicating the result of the command execution.