ICommand Interface
Represents a command.
public interface ICommand
- Namespace
- Spectre
.Console .Cli - Implementing Types
Methods
-
abstract Task<int> Execute
(CommandContext, CommandSettings) - Executes the command.
-
abstract ValidationResult Validate
(CommandContext, CommandSettings) - Validates the specified settings and remaining arguments.