Runic.CommandLine.Spectre
0.3.0-preview.1
dotnet add package Runic.CommandLine.Spectre --version 0.3.0-preview.1
NuGet\Install-Package Runic.CommandLine.Spectre -Version 0.3.0-preview.1
<PackageReference Include="Runic.CommandLine.Spectre" Version="0.3.0-preview.1" />
<PackageVersion Include="Runic.CommandLine.Spectre" Version="0.3.0-preview.1" />
<PackageReference Include="Runic.CommandLine.Spectre" />
paket add Runic.CommandLine.Spectre --version 0.3.0-preview.1
#r "nuget: Runic.CommandLine.Spectre, 0.3.0-preview.1"
#:package Runic.CommandLine.Spectre@0.3.0-preview.1
#addin nuget:?package=Runic.CommandLine.Spectre&version=0.3.0-preview.1&prerelease
#tool nuget:?package=Runic.CommandLine.Spectre&version=0.3.0-preview.1&prerelease
Runic.CommandLine.Spectre
Optional Spectre.Console presentation for Runic Command Line. Core command declarations, parsing and machine envelopes remain independent of Spectre.
return await new CommandApp(GeneratedCommandCatalog.Create())
{
Name = "hello",
Console = new SpectreCommandConsole(),
HelpPresenter = new SpectreHelpPresenter()
}.RunAsync(args);
Use WriteAsync for Spectre tables, trees and panels. Text is always treated as literal
text, never markup. Redirected output and NO_COLOR disable ANSI automatically. Terminal width is detected automatically. Explicit
width, color and Unicode overrides make tests deterministic. Byte output passes through
unchanged, so JSON framing remains owned by Runic. Prompts return their fallback when
interaction is unavailable. Handlers should use their injected ICommandConsole; in JSON
mode this console routes incidental output to stderr and disables reads.
Use new SpectreCommandConsole(context.Console).WithProgressAsync(...) inside a
handler. Progress receives percentages from 0 to 100; interactive terminals use
Spectre's live display on stderr. Noninteractive runs emit one status line and do
not animate. Forward the cancellation token into the operation. PromptAsync
returns its fallback when the invocation cannot interact.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. 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. |
-
net10.0
- Runic.CommandLine (= 0.3.0-preview.1)
- Spectre.Console (>= 0.57.2)
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 |
|---|---|---|
| 0.3.0-preview.1 | 40 | 9/11/2026 |