Altavec.CommandLine.Spectre
1.0.0-beta5.34
dotnet add package Altavec.CommandLine.Spectre --version 1.0.0-beta5.34
NuGet\Install-Package Altavec.CommandLine.Spectre -Version 1.0.0-beta5.34
<PackageReference Include="Altavec.CommandLine.Spectre" Version="1.0.0-beta5.34" />
<PackageVersion Include="Altavec.CommandLine.Spectre" Version="1.0.0-beta5.34" />
<PackageReference Include="Altavec.CommandLine.Spectre" />
paket add Altavec.CommandLine.Spectre --version 1.0.0-beta5.34
#r "nuget: Altavec.CommandLine.Spectre, 1.0.0-beta5.34"
#:package Altavec.CommandLine.Spectre@1.0.0-beta5.34
#addin nuget:?package=Altavec.CommandLine.Spectre&version=1.0.0-beta5.34&prerelease
#tool nuget:?package=Altavec.CommandLine.Spectre&version=1.0.0-beta5.34&prerelease
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
- Altavec.CommandLine (>= 1.0.0-beta5.37)
- Spectre.Console (>= 0.50.0)
-
.NETStandard 2.0
- Altavec.CommandLine (>= 1.0.0-beta5.37)
- Spectre.Console (>= 0.50.0)
-
net5.0
- Altavec.CommandLine (>= 1.0.0-beta5.37)
- Spectre.Console (>= 0.50.0)
-
net6.0
- Altavec.CommandLine (>= 1.0.0-beta5.37)
- Spectre.Console (>= 0.50.0)
-
net7.0
- Altavec.CommandLine (>= 1.0.0-beta5.37)
- Spectre.Console (>= 0.50.0)
-
net9.0
- Altavec.CommandLine (>= 1.0.0-beta5.37)
- 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 |
|---|