AsyncCommand Class
Base class for an asynchronous command with no settings.
public abstract class AsyncCommand : ICommand<EmptyCommandSettings>,
ICommandLimiter<EmptyCommandSettings>, ICommand
- Namespace
- Spectre
.Console .Cli
Methods
-
abstract Task<int> ExecuteAsync
(CommandContext) - Executes the command.