Altemiq.CommandLine.Spectre
2.0.0
dotnet add package Altemiq.CommandLine.Spectre --version 2.0.0
NuGet\Install-Package Altemiq.CommandLine.Spectre -Version 2.0.0
<PackageReference Include="Altemiq.CommandLine.Spectre" Version="2.0.0" />
<PackageVersion Include="Altemiq.CommandLine.Spectre" Version="2.0.0" />
<PackageReference Include="Altemiq.CommandLine.Spectre" />
paket add Altemiq.CommandLine.Spectre --version 2.0.0
#r "nuget: Altemiq.CommandLine.Spectre, 2.0.0"
#:package Altemiq.CommandLine.Spectre@2.0.0
#addin nuget:?package=Altemiq.CommandLine.Spectre&version=2.0.0
#tool nuget:?package=Altemiq.CommandLine.Spectre&version=2.0.0
System.CommandLine extensions for Spectre.Console
This package adds support for Spectre.Console
Prompting
This allows prompting for a value when it is not provided on the command line.
This has support for Enum (with or without [Flags]), primitive types, and anything that has a converter from string.
var value = parseResult.GetValueOrPrompt(option, "Enter/Select the value");
This respects default values, and completion sources for the option.
FigletText
This has helper methods for adding figlet text to the help action.
var command = new Command("COMMAND");
var rootCommand = new RootCommand { command };
command.AddFiglet("figlet", Colors.Blue);
These need to be called after adding the command to the root command, otherwise the help action is not available.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 is compatible. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 is compatible. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.7.2
- Altemiq.CommandLine (>= 2.0.0)
- Spectre.Console (>= 0.50.0)
-
.NETStandard 2.0
- Altemiq.CommandLine (>= 2.0.0)
- Spectre.Console (>= 0.50.0)
-
net5.0
- Altemiq.CommandLine (>= 2.0.0)
- Spectre.Console (>= 0.50.0)
-
net6.0
- Altemiq.CommandLine (>= 2.0.0)
- Spectre.Console (>= 0.50.0)
-
net7.0
- Altemiq.CommandLine (>= 2.0.0)
- Spectre.Console (>= 0.50.0)
-
net9.0
- Altemiq.CommandLine (>= 2.0.0)
- Spectre.Console (>= 0.50.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.0.0 | 567 | 11/12/2025 |
| 1.0.0-rc.2.3 | 154 | 11/10/2025 |
| 1.0.0-rc.2.2 | 137 | 10/15/2025 |
| 1.0.0-rc.1.4 | 224 | 9/22/2025 |
| 1.0.0-beta7.3 | 291 | 8/18/2025 |
| 1.0.0-beta6.2 | 481 | 7/23/2025 |
| 1.0.0-beta6.1 | 513 | 7/22/2025 |
| 1.0.0-beta5.0 | 138 | 7/8/2025 |
| 1.0.0-beta5 | 175 | 7/8/2025 |