D20Tek.Spectre.Console.Extensions
1.2.1
dotnet add package D20Tek.Spectre.Console.Extensions --version 1.2.1
NuGet\Install-Package D20Tek.Spectre.Console.Extensions -Version 1.2.1
<PackageReference Include="D20Tek.Spectre.Console.Extensions" Version="1.2.1" />
paket add D20Tek.Spectre.Console.Extensions --version 1.2.1
#r "nuget: D20Tek.Spectre.Console.Extensions, 1.2.1"
// Install D20Tek.Spectre.Console.Extensions as a Cake Addin #addin nuget:?package=D20Tek.Spectre.Console.Extensions&version=1.2.1 // Install D20Tek.Spectre.Console.Extensions as a Cake Tool #tool nuget:?package=D20Tek.Spectre.Console.Extensions&version=1.2.1
Extensions for common code and patterns when using Spectre.Console CLI app framework.
The current releases contain implementations of ITypeRegistrar and ITypeResolver to integrate the Microsoft.Extensions.DependencyInjection, Autofac, Lamar, LightInject, Ninject, and SimpleInjector frameworks with Spectre.Console.
We also support the CommandAppBuilder for easily creating and running your instance of Spectre.Console.CommandApp.
The new Extensions.Testing namespace support test infrastructure classes to easily test commands, configuration, and end-to-end test runs. There are various CommandAppTextContext classes and helpers that simplify unit test boilerplate code.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net8.0
- Autofac (>= 8.0.0)
- Lamar (>= 13.0.4)
- LightInject (>= 6.6.4)
- Microsoft.Extensions.DependencyInjection (>= 8.0.0)
- Ninject (>= 3.3.6)
- SimpleInjector (>= 5.4.6)
- Spectre.Console (>= 0.49.1)
- Spectre.Console.Cli (>= 0.49.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Latest Release: Upgrade to .NET 7.
Release 1.0.7 - Added test infrastructure classes and helpers to assist in writing unit tests for CommandApps, configuration, and individual commands.
For full release notes, please read: https://github.com/d20Tek/Spectre.Console.Extensions/blob/main/ReleaseNotes.md