Table of Contents

Class CommandSettingsValidator<TSettings>

Namespace
Ploch.CommandLine.Spectre.Commands
Assembly
Ploch.CommandLine.Spectre.dll

Validates command settings for Spectre.Console command-line applications.

public class CommandSettingsValidator<TSettings> : ICommandSettingsValidator<TSettings> where TSettings : CommandSettings

Type Parameters

TSettings

The type of command settings to validate.

Inheritance
CommandSettingsValidator<TSettings>
Implements
Inherited Members

Methods

Validate(CommandContext, TSettings)

Validates the provided command settings.