ICommand<TSettings> Interface
Represents a command.
public interface ICommand<TSettings> : ICommandLimiter<TSettings>, ICommand
where TSettings : CommandSettings
- Namespace
- Spectre
.Console .Cli - Interfaces
- Implementing Types
Parameters
-
TSettings
- The settings type.
Methods
-
abstract Task<int> Execute
(CommandContext, TSettings) - Executes the command.