namespace Spectre.Console.Cli; /// /// Represents a command. /// public interface ICommand { /// /// Validates the specified settings and remaining arguments. /// /// The command context. /// The settings. /// The validation result. ValidationResult Validate(CommandContext context, CommandSettings settings); /// /// Executes the command. /// /// The command context. /// The settings. /// The validation result. Task Execute(CommandContext context, CommandSettings settings); }