Execute(CommandContext, TSettings, CancellationToken) Method
Executes the command.
public abstract int Execute(CommandContext context, TSettings settings, CancellationToken cancellationToken)
- Namespace
- Spectre
.Console .Cli
Parameters
- CommandContext context
- The command context.
- TSettings settings
- The settings.
- CancellationToken cancellationToken
- A
System.Threading.CancellationTokenthat can be used to abort the command.
Returns
- int