Runic.CommandLine.Spectre 0.3.0-preview.1

This is a prerelease version of Runic.CommandLine.Spectre.
dotnet add package Runic.CommandLine.Spectre --version 0.3.0-preview.1
                    
NuGet\Install-Package Runic.CommandLine.Spectre -Version 0.3.0-preview.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Runic.CommandLine.Spectre" Version="0.3.0-preview.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Runic.CommandLine.Spectre" Version="0.3.0-preview.1" />
                    
Directory.Packages.props
<PackageReference Include="Runic.CommandLine.Spectre" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Runic.CommandLine.Spectre --version 0.3.0-preview.1
                    
#r "nuget: Runic.CommandLine.Spectre, 0.3.0-preview.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Runic.CommandLine.Spectre@0.3.0-preview.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Runic.CommandLine.Spectre&version=0.3.0-preview.1&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Runic.CommandLine.Spectre&version=0.3.0-preview.1&prerelease
                    
Install as a Cake Tool

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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