Spectre.Console.Cli Namespace

Class

AsyncCommand
Base class for an asynchronous command with no settings.
AsyncCommand<TSettings>
Base class for an asynchronous command.
Command
Base class for a command without settings.
Command<TSettings>
Base class for a command.
CommandApp
The entry point for a command line application.
CommandApp<TDefaultCommand>
The entry point for a command line application with a default command.
CommandAppException
Represents errors that occur during application execution.
CommandArgumentAttribute
An attribute representing a command argument.
CommandConfigurationException
Represents errors that occur during configuration.
CommandContext
Represents a command context.
CommandOptionAttribute
An attribute representing a command option.
CommandParameterContext
Represents a context for ICommandParameterInfo related operations.
CommandParseException
Represents errors that occur during parsing.
CommandRuntimeException
Represents errors that occur during runtime.
CommandSettings
Base class for command settings.
CommandTemplateException
Represents errors related to parameter templates.
EmptyCommandSettings
Represents empty settings.
FlagValue<T>
Implementation of a flag with an optional value.
PairDeconstructor<TKey, TValue>
Base class for a pair deconstructor.
PairDeconstructorAttribute
Specifies what type to use as a pair deconstructor for the property this attribute is bound to.
PairDeconstuctor<TKey, TValue>
Base class for a pair deconstructor.
ParameterValidationAttribute
A base class attribute used for parameter validation.
ParameterValueProviderAttribute
A base class attribute used for parameter completion.

Interface

ICommand
Represents a command.
ICommand<TSettings>
Represents a command.
ICommandApp
Represents a command line application.
ICommandAppSettings
Represents a command line application settings.
ICommandConfigurator
Represents a command configurator.
ICommandInterceptor
Represents a command settings interceptor that will intercept command settings before it's passed to a command.
ICommandLimiter<TSettings>
Represents a command limiter.
ICommandParameterInfo
Represents a command parameter.
IConfigurator
Represents a configurator.
IConfigurator<TSettings>
Represents a configurator for specific settings.
IFlagValue
Represents a flag with an optional value.
IRemainingArguments
Represents the remaining arguments.
ITypeRegistrar
Represents a type registrar.
ITypeRegistrarFrontend
Represents a user friendly frontend for a ITypeRegistrar.
ITypeResolver
Represents a type resolver.

Enum

CaseSensitivity
Represents case sensitivity.